共用方式為


CompoundAce(AceFlags, Int32, CompoundAceType, SecurityIdentifier) 建構函式

定義

初始化 CompoundAce 類別的新執行個體。

public:
 CompoundAce(System::Security::AccessControl::AceFlags flags, int accessMask, System::Security::AccessControl::CompoundAceType compoundAceType, System::Security::Principal::SecurityIdentifier ^ sid);
public CompoundAce (System.Security.AccessControl.AceFlags flags, int accessMask, System.Security.AccessControl.CompoundAceType compoundAceType, System.Security.Principal.SecurityIdentifier sid);
new System.Security.AccessControl.CompoundAce : System.Security.AccessControl.AceFlags * int * System.Security.AccessControl.CompoundAceType * System.Security.Principal.SecurityIdentifier -> System.Security.AccessControl.CompoundAce
Public Sub New (flags As AceFlags, accessMask As Integer, compoundAceType As CompoundAceType, sid As SecurityIdentifier)

參數

flags
AceFlags

包含旗標,這些旗標會指定新存取控制項目 (ACE) 之繼承 (Inheritance)、繼承傳用和稽核條件的相關資訊。

accessMask
Int32

ACE 的存取遮罩。

compoundAceType
CompoundAceType

CompoundAceType 列舉中的值。

sid
SecurityIdentifier

與新 ACE 關聯的 SecurityIdentifier

適用於