Compartir a través de


DeleteLogs 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 DeleteLogs ( _
    olderThan As DateTime _
)
'Uso
Dim instance As JobStep
Dim olderThan As DateTime

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

Parámetros