Jaa


JobServer.PurgeJobHistory Method

Removes all logged records of Microsoft SQL Server Agent jobs.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

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

See Also

Reference

JobServer Class
JobServer Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automating Administrative Tasks (SQL Server Agent)
Scheduling Automatic Administrative Tasks in SQL Server Agent