Share via


ReportServerException.ErrorCode Property

Returns the error code from the exception.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorCode As String
'Usage
Dim instance As ReportServerException
Dim value As String

value = instance.ErrorCode
public string ErrorCode { get; }
public:
property String^ ErrorCode {
    String^ get ();
}
/** @property */
public String get_ErrorCode ()
public function get ErrorCode () : String

Property Value

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 SoapException Errors Table in SQL Server Books Online.

See Also

Reference

ReportServerException Class
ReportServerException Members
Microsoft.Reporting.WebForms Namespace