다음을 통해 공유


ErrorCode 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public ReadOnly Property ErrorCode As Integer
    Get
‘사용 방법
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

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the error code.