Freigeben über


JobFilter.Enabled-Eigenschaft

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

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

Syntax

'Declaration
Public Property Enabled As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: 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.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobFilter Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)