ServerVersion-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property ServerVersion As ServerVersion
    Get
'Usage
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

Eigenschaftswert

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