Compartir a través de


DeleteJobStepLogs Método (Int32)

Deletes job step log files that are larger that the specified log ID number.

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

Sintaxis

'Declaración
Public Sub DeleteJobStepLogs ( _
    largerThan As Integer _
)
'Uso
Dim instance As Job
Dim largerThan As Integer

instance.DeleteJobStepLogs(largerThan)
public void DeleteJobStepLogs(
    int largerThan
)
public:
void DeleteJobStepLogs(
    int largerThan
)
member DeleteJobStepLogs : 
        largerThan:int -> unit 
public function DeleteJobStepLogs(
    largerThan : int
)

Parámetros

  • largerThan
    Tipo: System. . :: . .Int32
    A Int32 value that specifies the log ID number, higher than which to delete the job step log files.

Notas

This method was introduced in SQL Server 2005.