Condividi tramite


Proprietà LoginTimeout

Gets or sets the number of seconds after which an attempt to connect times out.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property LoginTimeout As Integer
    Get
    Set
'Utilizzo
Dim instance As JobServer
Dim value As Integer

value = instance.LoginTimeout

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

Valore proprietà

Tipo: System. . :: . .Int32
An Int32 value that specifies the time seconds after which a connection attempt times out.