DeleteJobStepLogs 메서드 (DateTime)
Deletes job step log files that are older than the specified date.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
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
)
매개 변수
- olderThan
형식: System. . :: . .DateTime
A DateTime value that specifies the log date, after which to delete the job step log files.
주의
This method was introduced in SQL Server 2005.