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: Int32
The number of seconds before the login times out for connections made by the agent.

Remarks

The default value for LoginTimeout is 15 seconds.

See Also

Reference

AgentCore Class

Microsoft.SqlServer.Replication Namespace