Share via


AdomdConnection.ConnectionTimeout Property

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

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property ConnectionTimeout As Integer
    Get
'Usage
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

Property Value

Type: 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.

Implements

IDbConnection.ConnectionTimeout