CommonObjectSecurity.SetAuditRule(AuditRule) メソッド

定義

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

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

パラメーター

rule
AuditRule

設定する監査規則。

適用対象