ServerVersion 屬性
Gets the SQL Server version of the target server.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
ReadOnly Property ServerVersion As Version
Get
'用途
Dim instance As ISfcConnection
Dim value As Version
value = instance.ServerVersion
Version ServerVersion { get; }
property Version^ ServerVersion {
Version^ get ();
}
abstract ServerVersion : Version
function get ServerVersion () : Version
屬性值
型別:System. . :: . .Version
A Version value that specifies the SQL Server version of the target server of the connection.