Replication Programming

LoginTimeout Property

The LoginTimeout property specifies the maximum number of seconds to wait for connections to be established.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.LoginTimeout [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Number of seconds for connections to be established.

Remarks

The default is 15 seconds. A value of 0 specifies an indefinite wait.

Data Type

Integer

Modifiable

Read/write

Prototype C/C++

HRESULT get_LoginTimeout(short *pVal);

HRESULT put_LoginTimeout(short newVal);