共用方式為


ServerVersion 屬性

Gets the version of the instance of Microsoft SQL Server that raised the exception.

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

語法

'宣告
Public ReadOnly Property ServerVersion As ServerVersion
    Get
'用途
Dim instance As CollectionNotAvailableException
Dim value As ServerVersion

value = instance.ServerVersion
public ServerVersion ServerVersion { get; }
public:
property ServerVersion^ ServerVersion {
    ServerVersion^ get ();
}
member ServerVersion : ServerVersion
function get ServerVersion () : ServerVersion

屬性值

型別:Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server that raised the exception.