Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectSecurity::PurgeAuditRules Method (IdentityReference^)

 

Removes all audit rules associated with the specified IdentityReference.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual void PurgeAuditRules(
	IdentityReference^ identity
)

Parameters

identity
Type: System.Security.Principal::IdentityReference^

The IdentityReference for which to remove all audit rules.

Exception Condition
InvalidOperationException

All audit rules are not in canonical order.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft