Share via


MergeSynchronizationAgent.LoginTimeout Property

Gets or sets the maximum number of seconds to wait for connections to be established.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Overridable Property LoginTimeout As Integer
public virtual int LoginTimeout { get; set; }
public:
virtual property int LoginTimeout {
    int get ();
    void set (int newValue);
}
/** @property */
public int get_LoginTimeout ()

/** @property */
public void set_LoginTimeout (int newValue)
public function get LoginTimeout () : int

public function set LoginTimeout (newValue : int)

Property Value

A Int32 value that represents a maximum time, in seconds.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace