Sdílet prostřednictvím


JobServer.EnumJobs Method

Definition

Overloads

EnumJobs()
EnumJobs(JobFilter)

The EnumJobs method returns a DataTable object that enumerates all jobs defined for a server.

EnumJobs()

public System.Data.DataTable EnumJobs ();
member this.EnumJobs : unit -> System.Data.DataTable
Public Function EnumJobs () As DataTable

Returns

Applies to

EnumJobs(JobFilter)

The EnumJobs method returns a DataTable object that enumerates all jobs defined for a server.

public System.Data.DataTable EnumJobs (Microsoft.SqlServer.Management.Smo.Agent.JobFilter filter);
member this.EnumJobs : Microsoft.SqlServer.Management.Smo.Agent.JobFilter -> System.Data.DataTable
Public Function EnumJobs (filter As JobFilter) As DataTable

Parameters

filter
JobFilter

A JobFilter object that restricts result set membership.

Returns

Applies to