Compartir a través de


ServiceRequestException.ErrorCode Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property ErrorCode As Integer 
    Get
'Uso
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

Valor de la propiedad

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

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

ServiceRequestException Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo