Método DeleteJobStepLogs (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 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
- olderThan
Tipo: System. . :: . .DateTime
A DateTime value that specifies the log date, after which to delete the job step log files.
Comentários
This method was introduced in SQL Server 2005.
Consulte também