ConnectionInfoBase.ServerVersion 屬性
取得或設定 SQL Server 執行個體的版本資訊。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property ServerVersion As ServerVersion
Get
Set
'用途
Dim instance As ConnectionInfoBase
Dim value As ServerVersion
value = instance.ServerVersion
instance.ServerVersion = value
public ServerVersion ServerVersion { get; set; }
public:
property ServerVersion^ ServerVersion {
ServerVersion^ get ();
void set (ServerVersion^ value);
}
member ServerVersion : ServerVersion with get, set
function get ServerVersion () : ServerVersion
function set ServerVersion (value : ServerVersion)
屬性值
型別:Microsoft.SqlServer.Management.Common.ServerVersion
ServerVersion 系統物件值,指定 SQL Server 執行個體的版本資訊。