Compartilhar via


Propriedade LoginTimeout

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property LoginTimeout As Integer
    Get
    Set
'Uso
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)

Valor da propriedade

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