Свойство JobFilter.Enabled

Gets or sets the Boolean property value that specifies whether the job filter is enabled or not.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Property Enabled As Boolean 
    Get 
    Set
'Применение
Dim instance As JobFilter 
Dim value As Boolean 

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
member Enabled : bool with get, set
function get Enabled () : boolean 
function set Enabled (value : boolean)

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether the job filter is enabled or not.If True, the job filter is enabled and will restrict the output of the EnumJobs method.If False, the job filter is disabled and will not restrict the output of the EnumJobs method.

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

JobFilter Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)