次の方法で共有


JobServer.PurgeJobHistory Method

Definition

Overloads

PurgeJobHistory()

Purges the entire job history.

PurgeJobHistory(JobHistoryFilter)

The PurgeJobHistory method removes system records maintaining execution history for all jobs, or those matching the filter criteria specified.

PurgeJobHistory()

Purges the entire job history.

public void PurgeJobHistory ();
member this.PurgeJobHistory : unit -> unit
Public Sub PurgeJobHistory ()

Applies to

PurgeJobHistory(JobHistoryFilter)

The PurgeJobHistory method removes system records maintaining execution history for all jobs, or those matching the filter criteria specified.

public void PurgeJobHistory (Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter filter);
member this.PurgeJobHistory : Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter -> unit
Public Sub PurgeJobHistory (filter As JobHistoryFilter)

Parameters

filter
JobHistoryFilter

A JobHistoryFilter object that constrains record removal to those records identified by the criteria set in the object.

Applies to