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 命名空间