Share via


LoginTimeout Property (Replication)

The LoginTimeout property specifies the maximum number of seconds to wait for connections from the computer that is running Internet Information Services (IIS) to the SQL Server Distributor and Publisher to be established.

Syntax

object.LoginTimeout [= value]

Parameters

  • value
    Number of seconds for connections to the SQL Server to be established. The default is 15 seconds.

Applies To

SQL Server 2005 Compact Edition Replication object

Data Type

Integer

Modifiable

Read/write

Prototype

HRESULT get_LoginTimeout(short *pVal);
HRESULT put_LoginTimeout(short newVal);

Remarks

Your application connects to a Publisher by going through a computer that is running IIS. The LoginTimeout property specifies the time that the system will wait while a connection is established between the computer that is running IIS and the Publisher and Distributor. It does not limit or control the connection time between the device and IIS.

This property can be used to override the default publication settings at the Publisher.

See Also

Reference

Replication Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance