Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the error code from the exception.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.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.WinForms Namespace