ReportServerException.ErrorCode Property
Returns the error code from the exception.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public string ErrorCode { get; }
public:
property String^ ErrorCode {
String^ get();
}
member ErrorCode : string with get
Public ReadOnly Property ErrorCode As String
Property Value
Type: System.String
A String value containing the error code returned by the report server, or null if the connection attempt to the report server is unsuccessful.
Remarks
For a list of errors that the report server returns, see in SQL Server Books Online.d57866f5-d876-41ce-bc49-0e72486a9617
See Also
ReportServerException Class
Microsoft.Reporting.WinForms Namespace
Return to top