QueryTimeout Property

Replication Programming

Replication Programming

QueryTimeout Property

The QueryTimeout property returns or sets the number of seconds allowed for internal queries to complete.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.QueryTimeout [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Number of seconds allowed for internal queries to be returned.
Remarks

The default value is 30.

A value of 0 means to wait indefinitely.

Data Type

Integer

Modifiable

Read/write

Prototype C/C++

HRESULT get_QueryTimeout(short *pVal);

HRESULT put_QueryTimeout(short newVal);