JobFilter.Category Property

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the category of the job.

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

Syntax

'Declaration
Public Property Category As String 
    Get 
    Set
'Usage
Dim instance As JobFilter 
Dim value As String 

value = instance.Category

instance.Category = value
public string Category { get; set; }
public:
property String^ Category {
    String^ get ();
    void set (String^ value);
}
member Category : string with get, set
function get Category () : String 
function set Category (value : String)

Property Value

Type: System.String
A string value that specifies the category constraint for the job filter.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobFilter Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)