다음을 통해 공유


ReportServerException.ErrorCode 속성

예외에서 오류 코드를 반환합니다.

네임스페이스:  Microsoft.Reporting.WebForms
어셈블리:  Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)

구문

‘선언
Public ReadOnly Property ErrorCode As String
    Get
‘사용 방법
Dim instance As ReportServerException
Dim value As String

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

속성 값

유형: System.String
보고서 서버에서 반환하는 오류 코드를 포함하는 string 값 또는 보고서 서버에 대한 연결 시도에 실패한 경우 nullnull 참조(Visual Basic에서는 Nothing)

주의

보고서 서버에서 반환하는 오류의 목록은 SQL Server 온라인 설명서의 SoapException Errors Table을 참조하십시오.

참고 항목

참조

ReportServerException 클래스

Microsoft.Reporting.WebForms 네임스페이스