JobStep.DeleteLogs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeleteLogs(Int32) |
Delete job step logs before certain log number |
DeleteLogs(DateTime) |
Delete job step logs older than specified date |
DeleteLogs(Int32)
Delete job step logs before certain log number
public void DeleteLogs (int largerThan);
member this.DeleteLogs : int -> unit
Public Sub DeleteLogs (largerThan As Integer)
Parameters
- largerThan
- Int32
Applies to
DeleteLogs(DateTime)
Delete job step logs older than specified date
public void DeleteLogs (DateTime olderThan);
member this.DeleteLogs : DateTime -> unit
Public Sub DeleteLogs (olderThan As DateTime)
Parameters
- olderThan
- DateTime