RegistrySecurity.RemoveAuditRuleAll(RegistryAuditRule) メソッド

定義

指定した規則と同じユーザーが設定されているすべての監査規則を検索し、見つかった場合はそれらの規則を削除します。

public:
 void RemoveAuditRuleAll(System::Security::AccessControl::RegistryAuditRule ^ rule);
public void RemoveAuditRuleAll (System.Security.AccessControl.RegistryAuditRule rule);
override this.RemoveAuditRuleAll : System.Security.AccessControl.RegistryAuditRule -> unit
Public Sub RemoveAuditRuleAll (rule As RegistryAuditRule)

パラメーター

rule
RegistryAuditRule

検索対象のユーザーを指定する RegistryAuditRule。 この規則で指定する権限、継承フラグ、または反映フラグは、無視されます。

例外

rulenullです。

注釈

現在の RegistrySecurity は、 と同じユーザー ruleを持つ監査規則を検索します。 で指定された rule 権限、継承フラグ、または伝達フラグは、この検索を実行するときに無視されます。 一致するルールが見つからない場合、アクションは実行されません。

適用対象