Condividi tramite


Proprietà ServiceRequestException.ErrorCode

Gets the error code that is generated by the system when the service request exception is raised.

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

Sintassi

'Dichiarazione
Public ReadOnly Property ErrorCode As Integer 
    Get
'Utilizzo
Dim instance As ServiceRequestException 
Dim value As Integer 

value = instance.ErrorCode
public int ErrorCode { get; }
public:
property int ErrorCode {
    int get ();
}
member ErrorCode : int
function get ErrorCode () : int

Valore proprietà

Tipo: System.Int32
An Int32 value that specifies the error code.

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

ServiceRequestException Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo