Condividi tramite


Proprietà CollectionNotAvailableException.ServerVersion

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property ServerVersion As ServerVersion 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

CollectionNotAvailableException Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo