Compartilhar via


Método DeleteLogs (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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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.