SqlStoreConnection.ServerVersion 屬性
Gets the version number of the connected server. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Overrides Property ServerVersion As Version
Get
Set
'用途
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)
屬性值
型別:System.Version
A Version object that specifies the server version.