Aracılığıyla paylaş


Job.DeleteJobStepLogs Method (Int32)

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

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Bildirim
Public Sub DeleteJobStepLogs ( _
    largerThan As Integer _
)
public void DeleteJobStepLogs (
    int largerThan
)
public:
void DeleteJobStepLogs (
    int largerThan
)
public void DeleteJobStepLogs (
    int largerThan
)
public function DeleteJobStepLogs (
    largerThan : int
)

Parameters

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

Remarks

This method was introduced in SQL Server 2005.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.