Share via


AdomdConnectionException.ExceptionCause Property

Gets the cause of the exception.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property ExceptionCause As ConnectionExceptionCause
    Get
'Usage
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

Property Value

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.