JobServer.CycleErrorLog Method
SQL Server 2008 R2
Closes and renames the current error log, and then creates a new empty error log file.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Closes and renames the current error log, and then creates a new empty error log file.