Freigeben über


AgentCore.LoginTimeout-Eigenschaft

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)

Eigenschaftswert

Typ: System.Int32
The number of seconds before the login times out for connections made by the agent.

Hinweise

The default value for LoginTimeout is 15 seconds.

Siehe auch

Verweis

AgentCore Klasse

Microsoft.SqlServer.Replication-Namespace