次の方法で共有


ReportServerException.ErrorCode プロパティ

 

例外からエラー コードを返します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

public string ErrorCode { get; }
public:
property String^ ErrorCode {
    String^ get();
}
member ErrorCode : string with get
Public ReadOnly Property ErrorCode As String

プロパティ値

Type: System.String

レポート サーバーによって返されたエラー コードを表す文字列値。レポート サーバーへの接続試行が失敗した場合は、null

解説

レポート サーバーによって返されるエラーの一覧については、SQL Server オンライン ブックの「SoapException Errors Table」を参照してください。

参照

ReportServerException クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る