SystemAcl 建構函式

定義

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

多載

名稱 Description
SystemAcl(Boolean, Boolean, Int32)

初始化一個新的類別實例 SystemAcl ,並以指定值。

SystemAcl(Boolean, Boolean, RawAcl)

以指定物件的指定值SystemAcl初始化類別的新實例RawAcl

SystemAcl(Boolean, Boolean, Byte, Int32)

初始化一個新的類別實例 SystemAcl ,並以指定值。

SystemAcl(Boolean, Boolean, Int32)

來源:
ACL.cs

初始化一個新的類別實例 SystemAcl ,並以指定值。

public:
 SystemAcl(bool isContainer, bool isDS, int capacity);
public SystemAcl(bool isContainer, bool isDS, int capacity);
new System.Security.AccessControl.SystemAcl : bool * bool * int -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, capacity As Integer)

參數

isContainer
Boolean

true 如果新物件 SystemAcl 是容器。

isDS
Boolean

true 若新的 SystemAcl 物件是目錄物件存取控制清單(ACL)。

capacity
Int32

SystemAcl物件可包含的存取控制條目(ACE)數量。 這個數字僅作為提示使用。

適用於

SystemAcl(Boolean, Boolean, RawAcl)

來源:
ACL.cs

以指定物件的指定值SystemAcl初始化類別的新實例RawAcl

public:
 SystemAcl(bool isContainer, bool isDS, System::Security::AccessControl::RawAcl ^ rawAcl);
public SystemAcl(bool isContainer, bool isDS, System.Security.AccessControl.RawAcl rawAcl);
new System.Security.AccessControl.SystemAcl : bool * bool * System.Security.AccessControl.RawAcl -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, rawAcl As RawAcl)

參數

isContainer
Boolean

true 如果新物件 SystemAcl 是容器。

isDS
Boolean

true 若新的 SystemAcl 物件是目錄物件存取控制清單(ACL)。

rawAcl
RawAcl

新物件的RawAcl底層SystemAcl物件。 指定 null 建立空的 ACL。

備註

RawAcl 物件中的存取控制條目(ACE)會被複製。

適用於

SystemAcl(Boolean, Boolean, Byte, Int32)

來源:
ACL.cs

初始化一個新的類別實例 SystemAcl ,並以指定值。

public:
 SystemAcl(bool isContainer, bool isDS, System::Byte revision, int capacity);
public SystemAcl(bool isContainer, bool isDS, byte revision, int capacity);
new System.Security.AccessControl.SystemAcl : bool * bool * byte * int -> System.Security.AccessControl.SystemAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, revision As Byte, capacity As Integer)

參數

isContainer
Boolean

true 如果新物件 SystemAcl 是容器。

isDS
Boolean

true 若新的 SystemAcl 物件是目錄物件存取控制清單(ACL)。

revision
Byte

新物件的 SystemAcl 修訂等級。

capacity
Int32

SystemAcl物件可包含的存取控制條目(ACE)數量。 這個數字僅作為提示使用。

適用於