Compartilhar via


Método DeleteLogs (DateTime)

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

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

Sintaxe

'Declaração
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