共用方式為


SystemAcl.RemoveAuditSpecific 方法

定義

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

多載

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。 指定物件型別或繼承物件型別時,將這個方法用於目錄物件存取控制清單 (ACL)。

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

public:
 void RemoveAuditSpecific(System::Security::Principal::SecurityIdentifier ^ sid, System::Security::AccessControl::ObjectAuditRule ^ rule);
public void RemoveAuditSpecific (System.Security.Principal.SecurityIdentifier sid, System.Security.AccessControl.ObjectAuditRule rule);
member this.RemoveAuditSpecific : System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.ObjectAuditRule -> unit
Public Sub RemoveAuditSpecific (sid As SecurityIdentifier, rule As ObjectAuditRule)

參數

sid
SecurityIdentifier

要移除稽核規則的 SecurityIdentifier

rule
ObjectAuditRule

要移除之規則的 ObjectAuditRule

適用於

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。

public:
 void RemoveAuditSpecific(System::Security::AccessControl::AuditFlags auditFlags, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags);
public void RemoveAuditSpecific (System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags);
member this.RemoveAuditSpecific : System.Security.AccessControl.AuditFlags * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags -> unit
Public Sub RemoveAuditSpecific (auditFlags As AuditFlags, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags)

參數

auditFlags
AuditFlags

要移除的稽核規則型別。

sid
SecurityIdentifier

要移除稽核規則的 SecurityIdentifier

accessMask
Int32

要移除之規則的存取遮罩。

inheritanceFlags
InheritanceFlags

旗標,指定要移除之規則的繼承屬性。

propagationFlags
PropagationFlags

旗標,指定要移除之規則的繼承傳用屬性。

適用於

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

從目前的 DiscretionaryAcl 物件移除指定的稽核規則。 指定物件型別或繼承物件型別時,將這個方法用於目錄物件存取控制清單 (ACL)。

public:
 void RemoveAuditSpecific(System::Security::AccessControl::AuditFlags auditFlags, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
public void RemoveAuditSpecific (System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
member this.RemoveAuditSpecific : System.Security.AccessControl.AuditFlags * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.ObjectAceFlags * Guid * Guid -> unit
Public Sub RemoveAuditSpecific (auditFlags As AuditFlags, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, objectFlags As ObjectAceFlags, objectType As Guid, inheritedObjectType As Guid)

參數

auditFlags
AuditFlags

要移除的稽核規則型別。

sid
SecurityIdentifier

要移除稽核規則的 SecurityIdentifier

accessMask
Int32

要移除之規則的存取遮罩。

inheritanceFlags
InheritanceFlags

旗標,指定要移除之規則的繼承屬性。

propagationFlags
PropagationFlags

旗標,指定要移除之規則的繼承傳用屬性。

objectFlags
ObjectAceFlags

旗標,指定 objectTypeinheritedObjectType 參數是否包含非 null 值。

objectType
Guid

要套用移除之稽核控制規則的物件類別識別。

inheritedObjectType
Guid

可繼承移除之稽核規則的子物件類別識別。

適用於