Share via


AgentCore.LoginTimeout Property

Get or sets the number of seconds before the login times out for connections made by the agent.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property LoginTimeout As Integer
    Get
    Set
'Usage
Dim instance As AgentCore
Dim value As Integer

value = instance.LoginTimeout

instance.LoginTimeout = value
public int LoginTimeout { get; set; }
public:
property int LoginTimeout {
    int get ();
    void set (int value);
}
member LoginTimeout : int with get, set
function get LoginTimeout () : int
function set LoginTimeout (value : int)

Property Value

Type: System.Int32
An Int32 value.

Remarks

The default value for LoginTimeout is 15 seconds.