Compartilhar via


Método CycleErrorLog

Closes and renames the current error log, and then creates a new empty error log file.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub CycleErrorLog
'Uso
Dim instance As JobServer

instance.CycleErrorLog()
public void CycleErrorLog()
public:
void CycleErrorLog()
member CycleErrorLog : unit -> unit 
public function CycleErrorLog()