Share via


JobServer.PurgeJobHistory Method

Include Protected Members
Include Inherited Members

Removes all logged records of SQL Server Agent jobs.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method PurgeJobHistory() Removes all logged records of SQL Server Agent jobs.
Public method PurgeJobHistory(JobHistoryFilter) Removes all logged records of SQL Server Agent jobs as specified by a filter.

Top

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace