ConnectionTimeout 属性

Gets the time to wait for a connection to be established before the AdomdConnection stops trying to connect and generates an error.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public ReadOnly Property ConnectionTimeout As Integer
    Get
用法
Dim instance As AdomdConnection
Dim value As Integer

value = instance.ConnectionTimeout
[BrowsableAttribute(false)]
public int ConnectionTimeout { get; }
[BrowsableAttribute(false)]
public:
virtual property int ConnectionTimeout {
    int get () sealed;
}
[<BrowsableAttribute(false)>]
abstract ConnectionTimeout : int
[<BrowsableAttribute(false)>]
override ConnectionTimeout : int
final function get ConnectionTimeout () : int

属性值

类型:System. . :: . .Int32
An integer that contains the time (in seconds) to wait while trying to establish a connection. The default is zero (0), which sets the time to infinite.

实现

IDbConnection. . :: . .ConnectionTimeout