Share via


SqlStoreConnection.ServerVersion Property

Gets the version number of the connected server. 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
Public Overrides Property ServerVersion As Version
    Get
    Set
'Usage
Dim instance As SqlStoreConnection
Dim value As Version

value = instance.ServerVersion

instance.ServerVersion = value
public override Version ServerVersion { get; set; }
public:
virtual property Version^ ServerVersion {
    Version^ get () override;
    void set (Version^ value) override;
}
abstract ServerVersion : Version with get, set
override ServerVersion : Version with get, set
override function get ServerVersion () : Version
override function set ServerVersion (value : Version)

Property Value

Type: System.Version
A Version object that specifies the server version.

Implements

ISfcConnection.ServerVersion