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.

命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property ConnectionTimeout As Integer
[BrowsableAttribute(false)] 
public int ConnectionTimeout { get; }
[BrowsableAttribute(false)] 
public:
virtual property int ConnectionTimeout {
    int get () sealed;
}
/** @property */
public final int get_ConnectionTimeout ()
public final function get ConnectionTimeout () : int

屬性值

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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace