ObjectSecurity<T>.RemoveAuditRule(AuditRule<T>) 方法

定義

移除與該 ObjectSecurity'1 物件相關的系統存取控制 List(SACL)中包含與指定審計規則相同安全識別碼與存取遮罩的稽核規則。

public:
 virtual bool RemoveAuditRule(System::Security::AccessControl::AuditRule<T> ^ rule);
public virtual bool RemoveAuditRule(System.Security.AccessControl.AuditRule<T> rule);
override this.RemoveAuditRule : System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> -> bool
Public Overridable Function RemoveAuditRule (rule As AuditRule(Of T)) As Boolean

參數

rule
AuditRule<T>

取消審計規則。

傳回

true如果物品被移除;否則,。 false

適用於