Partager via


Propriété ErrorCode

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

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

Syntaxe

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

Valeur de propriété

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