Partilhar via


JobStep.DeleteLogs Method

Deletes job step log files.

Remarks

This method is available on instances running Microsoft SQL Server 2005 and later versions.

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

Scheduling Automatic Administrative Tasks in SQL Server AgentAutomating Administrative Tasks (SQL Server Agent)sp_delete_jobsteplog (Transact-SQL)

Overload List

Name Description
JobStep.DeleteLogs (DateTime)
Deletes job step log files that are older than the specified date.
JobStep.DeleteLogs (Int32)  

See Also

Reference

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

Other Resources

Scheduling Automatic Administrative Tasks in SQL Server Agent
Automating Administrative Tasks (SQL Server Agent)
sp_delete_jobsteplog (Transact-SQL)
Scheduling Automatic Administrative Tasks in SQL Server Agent
Automating Administrative Tasks (SQL Server Agent)
sp_delete_jobsteplog (Transact-SQL)