共用方式為


ObjectSecurity<T>.AuditRuleFactory 方法

定義

初始化 AuditRule 類別 (表示指定之使用者的指定稽核規則) 的新執行個體。

public:
 override System::Security::AccessControl::AuditRule ^ AuditRuleFactory(System::Security::Principal::IdentityReference ^ identityReference, int accessMask, bool isInherited, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AuditFlags flags);
public override System.Security.AccessControl.AuditRule AuditRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags);
override this.AuditRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule
Public Overrides Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags) As AuditRule

參數

identityReference
IdentityReference

代表使用者帳戶。

accessMask
Int32

整數,指定存取類型。

isInherited
Boolean

如果繼承存取規則,則為 true,否則為 false

inheritanceFlags
InheritanceFlags

指定如何將存取遮罩散佈到子物件。

propagationFlags
PropagationFlags

指定如何將存取控制項目 (ACE) 傳用至子物件。

flags
AuditFlags

描述要執行的稽核類型。

傳回

指定使用者的指定稽核規則。

適用於