JobServer.EnumJobs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.