共用方式為


ISfcConnection.ServerVersion 屬性

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

語法

'宣告
Private ReadOnly Property ServerVersion As Version
    Implements ISfcConnection.ServerVersion
    Get
'用途
Dim instance As ServerConnection
Dim value As Version

value = CType(instance, ISfcConnection).ServerVersion
Version ISfcConnection.ServerVersion { get; }
private:
virtual property Version^ ServerVersion {
    Version^ get () sealed = ISfcConnection::ServerVersion::get;
}
private abstract ServerVersion : Version
private override ServerVersion : Version
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

屬性值

型別:System. . :: . .Version

實作

ISfcConnection. . :: . .ServerVersion