Condividi tramite


Proprietà TransSynchronizationAgent.LoginTimeout

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Overridable Property LoginTimeout As Integer 
    Get 
    Set
'Utilizzo
Dim instance As TransSynchronizationAgent 
Dim value As Integer 

value = instance.LoginTimeout

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

Valore proprietà

Tipo: System.Int32
The maximum number of seconds to wait for connections to be established.

Implementa

ITransSynchronizationAgent.LoginTimeout

Osservazioni

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

Vedere anche

Riferimento

TransSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication