Właściwość JobSchedule.IsEnabled
Pobiera lub ustawia Boolean wartość właściwość, która określa, czy zadanie harmonogramu jest włączone lub wyłączone.
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 JobSchedule
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ść właściwość, która określa, czy zadanie harmonogramu jest włączone lub wyłączone.
Jeśli True, zadanie harmonogramu jest włączona.W przeciwnym razie False (domyślnie).