Hi,
Our product uses features that require Analysis Services SP2 to be installed. How can I tell if an Analysis Services server is running SP2 or higher using Analysis Services Management Objects (AMO)? I'm not concerned about the Operating System service pack edition, I'm concerned about the SP version of Analysis Services.
Thanks.
Figured it out. Use the Version property off the Server object.
Server svr = new Server();
svr.Connect(serverName);
Version minASVersion = new Version(MIN_AS_SERVICES_VERSION);
Version serverVersion = new Version(svr.Version);
if (serverVersion < minASVersion)
{
// error
}
|||You can get this using ADOMD too:
http://geekswithblogs.net/darrengosbell/archive/2007/07/14/SSAS-Detecting-the-version-of-SSAS-on-a-given-server.aspx
sql
No comments:
Post a Comment