SqlOlapConnectionInfoBase.QueryTimeout 屬性

取得或設定查詢逾時之前的秒數。

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Property QueryTimeout As Integer 
    Get 
    Set
'用途
Dim instance As SqlOlapConnectionInfoBase 
Dim value As Integer 

value = instance.QueryTimeout

instance.QueryTimeout = value
public int QueryTimeout { get; set; }
public:
property int QueryTimeout {
    int get ();
    void set (int value);
}
member QueryTimeout : int with get, set
function get QueryTimeout () : int 
function set QueryTimeout (value : int)

屬性值

型別:Int32
指定查詢逾時期限的 Int32 值。

請參閱

參考

SqlOlapConnectionInfoBase 類別

Microsoft.SqlServer.Management.Common 命名空間