Share via


JobFilter.JobType Property

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

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

Syntax

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

value = instance.JobType

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.JobType
A JobType object value that specifies the type of job.

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)