ActiveDirectorySecurity.AuditRuleFactory 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 AuditRule 物件。
多載
AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)
以指定的値建立 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 sealed 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 NotOverridable Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags) As AuditRule
參數
- identityReference
- IdentityReference
IdentityReference 物件 (例如 NTAccount 物件),解析為安全識別項 (SID)。
- inheritanceFlags
- InheritanceFlags
InheritanceFlags 物件,包含目錄物件的繼承旗標。
- propagationFlags
- PropagationFlags
PropagationFlags 物件,包含目錄物件的繼承傳用旗標。
- flags
- AuditFlags
AuditFlags 物件,包含這個 ActiveDirectorySecurity 物件的稽核旗標。
傳回
對應於 AuditRule 物件的 ActiveDirectorySecurity。
另請參閱
適用於
AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid)
以指定的値建立 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, Guid objectGuid, Guid inheritedObjectGuid);
public override sealed 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, Guid objectGuid, Guid inheritedObjectGuid);
override this.AuditRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags * Guid * Guid -> System.Security.AccessControl.AuditRule
Public Overrides NotOverridable Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags, objectGuid As Guid, inheritedObjectGuid As Guid) As AuditRule
參數
- identityReference
- IdentityReference
IdentityReference 物件 (例如 NTAccount 物件),解析為安全識別項 (SID)。
- inheritanceFlags
- InheritanceFlags
InheritanceFlags 物件,包含目錄物件的繼承旗標。
- propagationFlags
- PropagationFlags
PropagationFlags 物件,包含目錄物件的繼承傳用旗標。
- flags
- AuditFlags
AuditFlags 物件,包含這個 ActiveDirectorySecurity 物件的稽核旗標。
傳回
對應於 AuditRule 物件的 ActiveDirectorySecurity。