JobStep.DeleteLogs-Methode (Int32)
Deletes job step log files that have log numbers lower than the specified value.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DeleteLogs ( _
largerThan As Integer _
)
'Usage
Dim instance As JobStep
Dim largerThan As Integer
instance.DeleteLogs(largerThan)
public void DeleteLogs(
int largerThan
)
public:
void DeleteLogs(
int largerThan
)
member DeleteLogs :
largerThan:int -> unit
public function DeleteLogs(
largerThan : int
)
Parameter
- largerThan
Typ: System.Int32
A Int32 value that specifies the log number. Log files that have a lower number are deleted.
Hinweise
Diese Methode wurde in SQL Server 2005 eingeführt.
Beispiele
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace