Propriété ServerVersion

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

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public MustOverride Property ServerVersion As Version
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

ISfcConnection. . :: . .ServerVersion