Udostępnij za pośrednictwem


Właściwość ProxyAccount.IsEnabled

Pobiera lub ustawia Boolean wartości właściwość, która określa, czy konto proxy jest włączone lub nie.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Agent
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsEnabled As Boolean
    Get
    Set
'Użycie
Dim instance As ProxyAccount
Dim value As Boolean

value = instance.IsEnabled

instance.IsEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)

Wartość właściwości

Typ: System.Boolean
A Boolean wartość, która określa, czy konto proxy jest włączone lub nie.
Jeśli True, konto proxy jest włączone.
Jeśli FAŁSZ (domyślnie), konto proxy jest wyłączone.