Share via


SfcConnection.ServerVersion Property

Gets or sets the SQL Server version of the target server.

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

Syntax

'Declaration
Public MustOverride Property ServerVersion As Version
    Get
    Set
'Usage
Dim instance As SfcConnection
Dim value As Version

value = instance.ServerVersion

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

Property Value

Type: System.Version
A Version object that specifies the SQL Server version of the target server.

Implements

ISfcConnection.ServerVersion