JobStep.DeleteLogs Method
Include Protected Members
Include Inherited Members
Deletes job step log files.
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 | |
---|---|---|
DeleteLogs(DateTime) | Deletes job step log files that are older than the specified date. | |
DeleteLogs(Int32) | Deletes job step log files that have log numbers lower than the specified value. |
Top
Remarks
This method was introduced in SQL Server 2005.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace