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