Właściwość ReportServerException.ErrorCode —
Returns the error code from the exception.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
Public ReadOnly Property ErrorCode As String
public string ErrorCode { get; }
public:
property String^ ErrorCode {
String^ get ();
}
member ErrorCode : string with get
function get ErrorCode () : String
Wartość właściwości
Typ: String
A string value containing the error code returned by the report server, or nullodwołanie o wartości null (Nothing w języku Visual Basic) if the connection attempt to the report server is unsuccessful.
Uwagi
For a list of errors that the report server returns, see SoapException Errors Table in SQL Server Books Online.