Partilhar via


ExecuteSql.GetServerVersion Method

Definition

Overloads

GetServerVersion(Object)

return the server version for the server with the given connection

GetServerVersion()

return the ServerVersion for the connection

GetServerVersion(Object)

return the server version for the server with the given connection

public static Microsoft.SqlServer.Management.Common.ServerVersion GetServerVersion (object con);
static member GetServerVersion : obj -> Microsoft.SqlServer.Management.Common.ServerVersion
Public Shared Function GetServerVersion (con As Object) As ServerVersion

Parameters

con
Object

Returns

Applies to

GetServerVersion()

return the ServerVersion for the connection

public Microsoft.SqlServer.Management.Common.ServerVersion GetServerVersion ();
member this.GetServerVersion : unit -> Microsoft.SqlServer.Management.Common.ServerVersion
Public Function GetServerVersion () As ServerVersion

Returns

Applies to