EventWaitHandleSecurity.RemoveAuditRuleAll(EventWaitHandleAuditRule) 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::EventWaitHandleAuditRule ^ rule);
public void RemoveAuditRuleAll (System.Security.AccessControl.EventWaitHandleAuditRule rule);
override this.RemoveAuditRuleAll : System.Security.AccessControl.EventWaitHandleAuditRule -> unit
Public Sub RemoveAuditRuleAll (rule As EventWaitHandleAuditRule)
Parameters
An EventWaitHandleAuditRule that specifies the user to search for. Any rights specified by this rule are ignored.
Exceptions
rule
is null
.
Remarks
The current EventWaitHandleSecurity is searched for audit rules that have the same user as rule
. Any rights specified by rule
are ignored when performing this search. All matching rules are removed. If no matching rules are found, no action is taken.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про