ActiveDirectorySecurity.SetAuditRule(ActiveDirectoryAuditRule) 方法

定义

将所有安全标识符与对象的 SACL 中指定审核规则相同的审核规则替换为指定的审核规则。

public:
 void SetAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public void SetAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.SetAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> unit
Public Sub SetAuditRule (rule As ActiveDirectoryAuditRule)

参数

rule
ActiveDirectoryAuditRule

此操作应用于的 ActiveDirectoryAccessRule 对象。

适用于