Udostępnij za pośrednictwem


QueryTimeout Property (Replication ActiveX)

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

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.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Remarks

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);