ISupportVersions.GetServerVersion(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
given the connection returns the server version
public Microsoft.SqlServer.Management.Common.ServerVersion GetServerVersion (object conn);
abstract member GetServerVersion : obj -> Microsoft.SqlServer.Management.Common.ServerVersion
Public Function GetServerVersion (conn As Object) As ServerVersion
Parameters
- conn
- Object
Connection object to get the engine type from