Partager via


ExceptionCause propriété

Gets the cause of the exception.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ExceptionCause As ConnectionExceptionCause
    Get
'Utilisation
Dim instance As AdomdConnectionException
Dim value As ConnectionExceptionCause

value = instance.ExceptionCause
public ConnectionExceptionCause ExceptionCause { get; }
public:
property ConnectionExceptionCause ExceptionCause {
    ConnectionExceptionCause get ();
}
member ExceptionCause : ConnectionExceptionCause
function get ExceptionCause () : ConnectionExceptionCause

Valeur de la propriété

Type : Microsoft.AnalysisServices.AdomdClient. . :: . .ConnectionExceptionCause
An enumerator representing the possible reasons that can cause AdomdConnectionException to be raised. Possible values are ConnectionExceptionCause.Unspecified, and ConnectionExceptionCause.AuthenticationFailed.