Partager via


QueryTimeout Property (Replication ActiveX)

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

Syntaxe

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.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Notes

The default value is 30.

A value of 0 means that a query will never time out.

Data Type

Integer

Modifiable

Read/write

Prototype C/C++

HRESULT get_QueryTimeout(short *pVal);
HRESULT put_QueryTimeout(short newVal);