DeleteLogs 方法 (Int32)

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub DeleteLogs ( _
    largerThan As Integer _
)
用法
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
)

参数

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