ActiveDirectorySecurity.RemoveAuditRule(ActiveDirectoryAuditRule) 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.
Removes all audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) of an object.
public:
bool RemoveAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public bool RemoveAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.RemoveAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> bool
Public Function RemoveAuditRule (rule As ActiveDirectoryAuditRule) As Boolean
Parameters
The ActiveDirectoryAccessRule object to which this operation applies.
Returns
true
if the operation is successful; otherwise, false
.
Applies to
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.