Condividi tramite


Metodo DeleteLogs (DateTime)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub DeleteLogs ( _
    olderThan As DateTime _
)
'Utilizzo
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
)

Parametri