Compartir a través de


DeleteJobStepLogs Método (DateTime)

Deletes job step log files that are older than the specified date.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub DeleteJobStepLogs ( _
    olderThan As DateTime _
)
'Uso
Dim instance As Job
Dim olderThan As DateTime

instance.DeleteJobStepLogs(olderThan)
public void DeleteJobStepLogs(
    DateTime olderThan
)
public:
void DeleteJobStepLogs(
    DateTime olderThan
)
member DeleteJobStepLogs : 
        olderThan:DateTime -> unit 
public function DeleteJobStepLogs(
    olderThan : DateTime
)

Parámetros

Notas

This method was introduced in SQL Server 2005.