Partager via


Propriété ServerVersion

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ServerVersion As ServerVersion
    Get
'Utilisation
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

Valeur de propriété

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