The PurgeHistory method removes system records maintaining execution history for the referenced SQL Server Agent job.
object.PurgeHistory( )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
HRESULT PurgeHistory();