SqlOlapConnectionInfoBase.ConnectionTimeout 屬性
取得或設定連接逾時之前的秒數。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property ConnectionTimeout As Integer
Get
Set
'用途
Dim instance As SqlOlapConnectionInfoBase
Dim value As Integer
value = instance.ConnectionTimeout
instance.ConnectionTimeout = value
public int ConnectionTimeout { get; set; }
public:
property int ConnectionTimeout {
int get ();
void set (int value);
}
member ConnectionTimeout : int with get, set
function get ConnectionTimeout () : int
function set ConnectionTimeout (value : int)
屬性值
型別:Int32
指定連接逾時期限的 Int32 值。