共用方式為


ServerVersion 屬性

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

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public MustOverride Property ServerVersion As Version
    Get
    Set
'用途
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)

屬性值

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

實作

ISfcConnection. . :: . .ServerVersion