共用方式為


AgentCore.QueryTimeout 屬性

Gets or sets the number of seconds before a query times out.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Property QueryTimeout As Integer 
    Get 
    Set
'用途
Dim instance As AgentCore 
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)

屬性值

型別:System.Int32
The number of seconds before a query times out.

備註

The default value for QueryTimeout is 1800 seconds.

請參閱

參考

AgentCore 類別

Microsoft.SqlServer.Replication 命名空間