次の方法で共有


IUpdateServer.DeleteInstallApprovalRule Method (Int32)

 

Applies To: Windows Server Update Services

Deletes an Install Automatic Approval Rule from the database.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

void DeleteInstallApprovalRule(
    int ruleId
)
void DeleteInstallApprovalRule(
    int ruleId
)
abstract DeleteInstallApprovalRule : 
        ruleId:int -> unit
Sub DeleteInstallApprovalRule (
    ruleId As Integer
)

Parameters

  • ruleId
    Type: System.Int32

    The Automatic Approval Rule Id to delete

Remarks

Deleting a rule will not delete approvals that have already been created based on the rule.

This operation requires WSUS Administrator privileges.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top