共用方式為


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