DeleteJobStepLogs 方法 (DateTime)

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub DeleteJobStepLogs ( _
    olderThan As DateTime _
)
用法
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
)

参数

注释

This method was introduced in SQL Server 2005.