ServerVersion 屬性
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
命名空間: Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件: Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)
語法
'宣告
Public Property ServerVersion As ServerVersion
Get
Set
'用途
Dim instance As UIConnectionInfo
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
A ServerVersion object that specifies the version of the instance of the Database Engine for the connection.