RegistrySecurity.RemoveAuditRuleAll(RegistryAuditRule) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for all audit rules with the same user as the specified rule and, if found, removes them.
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)
Parameters
- rule
- RegistryAuditRule
A RegistryAuditRule that specifies the user to search for. Any rights, inheritance flags, or propagation flags specified by this rule are ignored.
Exceptions
rule
is null
.
Remarks
The current RegistrySecurity is searched for audit rules that have the same user as rule
. Any rights, inheritance flags, or propagation flags specified by rule
are ignored when performing this search. If no matching rules are found, no action is taken.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應