DirectoryObjectSecurity.SetAuditRule(ObjectAuditRule) メソッド

定義

この DirectoryObjectSecurity オブジェクトに関連付けられているシステム アクセス制御リスト (SACL) の指定した監査規則と同じセキュリティ識別子と修飾子を含むすべての監査規則を削除し、指定した監査規則を追加します。

protected:
 void SetAuditRule(System::Security::AccessControl::ObjectAuditRule ^ rule);
protected void SetAuditRule(System.Security.AccessControl.ObjectAuditRule rule);
member this.SetAuditRule : System.Security.AccessControl.ObjectAuditRule -> unit
Protected Sub SetAuditRule (rule As ObjectAuditRule)

パラメーター

rule
ObjectAuditRule

設定する監査規則。

適用対象