QueryTimeout 属性

Gets or sets the number of seconds that are allowed for internal queries to finish.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Overridable Property QueryTimeout As Integer
    Get
    Set
用法
Dim instance As MergeSynchronizationAgent
Dim value As Integer

value = instance.QueryTimeout

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

属性值

类型:System. . :: . .Int32
A Int32 value that represents the number of seconds.

实现

IMergeSynchronizationAgent. . :: . .QueryTimeout

注释

The default value for QueryTimeout is 30.

Setting a value of 0 for QueryTimeout means that a query will never time out.