共用方式為


AdomdConnectionException.ExceptionCause 屬性

Gets the cause of the exception.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property ExceptionCause As ConnectionExceptionCause 
    Get
'用途
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

屬性值

型別: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.

請參閱

參考

AdomdConnectionException 類別

Microsoft.AnalysisServices.AdomdClient 命名空間