TransSynchronizationAgent.QueryTimeout 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

구문

‘선언
Public Overridable Property QueryTimeout As Integer 
    Get 
    Set
‘사용 방법
Dim instance As TransSynchronizationAgent 
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
The number of seconds that are allowed for internal queries to complete.

구현

ITransSynchronizationAgent.QueryTimeout

주의

The default value for QueryTimeout is 30.

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

참고 항목

참조

TransSynchronizationAgent 클래스

Microsoft.SqlServer.Replication 네임스페이스