Share via


ISupportVersions.GetServerVersion Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetServerVersion ( _
    conn As Object _
) As ServerVersion
'Usage
Dim instance As ISupportVersions 
Dim conn As Object 
Dim returnValue As ServerVersion 

returnValue = instance.GetServerVersion(conn)
ServerVersion GetServerVersion(
    Object conn
)
ServerVersion^ GetServerVersion(
    Object^ conn
)
abstract GetServerVersion : 
        conn:Object -> ServerVersion
function GetServerVersion(
    conn : Object
) : ServerVersion

Parameters

  • conn
    Type: System.Object
    An object that represents the connection.

Return Value

Type: Microsoft.SqlServer.Management.Common.ServerVersion
The version of the server.

See Also

Reference

ISupportVersions Interface

Microsoft.SqlServer.Management.Sdk.Sfc Namespace