ServerConnection object has a property ServerVersion, which can be used to determine the version of server connected.
|||Also take a look at the Server.Information class. This also carries a few properties, such as Version and VersionString, but also ProductLevel, and Edition.
Showing posts with label manner. Show all posts
Showing posts with label manner. Show all posts
Wednesday, March 7, 2012
retrieve SQL Server version using SMO
How can I retrieve SQL Server version (SQL Server 2000 or 2005) using SMO ?, same manner as SERVERPROPERTY('ProductVersion')
Labels:
database,
manner,
microsoft,
mysql,
oracle,
productversion,
retrieve,
server,
serverproperty,
smo,
sql,
version
Subscribe to:
Posts (Atom)