Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the error code that is generated by the system when the service request exception is raised.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property ErrorCode As Integer
Get
'Usage
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
Property Value
Type: System.Int32
An Int32 value that specifies the error code.