Поделиться через


Свойство 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