Condividi tramite


Proprietà ReportServerException.ErrorCode

Restituisce il codice di errore dall'eccezione.

Spazio dei nomi:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Sintassi

'Dichiarazione
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

Valore proprietà

Tipo: String
Valore String contenente il codice di errore restituito dal server di rapporti oppure nullriferimento null (Nothing in Visual Basic) se il tentativo di connessione al server di rapporti ha avuto esito negativo.

Note

Per un elenco degli errori restituiti dal server di rapporti, vedere SoapException Errors Table nella documentazione online di SQL Server.

Vedere anche

Riferimenti

ReportServerException Classe

Spazio dei nomi Microsoft.Reporting.WinForms