Compartir a través de


DeleteLogs Método (Int32)

Deletes job step log files that have log numbers lower than the specified value.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub DeleteLogs ( _
    largerThan As Integer _
)
'Uso
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
)

Parámetros

  • largerThan
    Tipo: System. . :: . .Int32
    A Int32 value that specifies the log number. Log files that have a lower number are deleted.