EventWaitHandleSecurity.RemoveAuditRuleAll(EventWaitHandleAuditRule) Método

Definição

Pesquisa todas as regras de auditoria com o mesmo usuário que a regra especificada e, se encontradas, remove-as.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)

Parâmetros

rule
EventWaitHandleAuditRule

Um EventWaitHandleAuditRule que especifica o usuário pelo qual pesquisar.An EventWaitHandleAuditRule that specifies the user to search for. Todos os direitos especificados por essa regra são ignorados.Any rights specified by this rule are ignored.

Exceções

rule é null.rule is null.

Comentários

O atual EventWaitHandleSecurity é procurado por regras de auditoria que têm o mesmo usuário do rule .The current EventWaitHandleSecurity is searched for audit rules that have the same user as rule. Todos os direitos especificados por rule são ignorados durante a execução dessa pesquisa.Any rights specified by rule are ignored when performing this search. Todas as regras de correspondência são removidas.All matching rules are removed. Se nenhuma regra de correspondência for encontrada, nenhuma ação será executada.If no matching rules are found, no action is taken.

Aplica-se a