แก้ไข

แชร์ผ่าน


SystemAcl Constructors

Definition

Initializes a new instance of the SystemAcl class.

Overloads

SystemAcl(Boolean, Boolean, Int32)

Initializes a new instance of the SystemAcl class with the specified values.

SystemAcl(Boolean, Boolean, RawAcl)

Initializes a new instance of the SystemAcl class with the specified values from the specified RawAcl object.

SystemAcl(Boolean, Boolean, Byte, Int32)

Initializes a new instance of the SystemAcl class with the specified values.

SystemAcl(Boolean, Boolean, Int32)

Initializes a new instance of the SystemAcl class with the specified values.

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)

Parameters

isContainer
Boolean

true if the new SystemAcl object is a container.

isDS
Boolean

true if the new SystemAcl object is a directory object Access Control List (ACL).

capacity
Int32

The number of Access Control Entries (ACEs) this SystemAcl object can contain. This number is to be used only as a hint.

Applies to

SystemAcl(Boolean, Boolean, RawAcl)

Initializes a new instance of the SystemAcl class with the specified values from the specified RawAcl object.

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)

Parameters

isContainer
Boolean

true if the new SystemAcl object is a container.

isDS
Boolean

true if the new SystemAcl object is a directory object Access Control List (ACL).

rawAcl
RawAcl

The underlying RawAcl object for the new SystemAcl object. Specify null to create an empty ACL.

Remarks

The Access Control Entries (ACEs) in the RawAcl object are cloned.

Applies to

SystemAcl(Boolean, Boolean, Byte, Int32)

Initializes a new instance of the SystemAcl class with the specified values.

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)

Parameters

isContainer
Boolean

true if the new SystemAcl object is a container.

isDS
Boolean

true if the new SystemAcl object is a directory object Access Control List (ACL).

revision
Byte

The revision level of the new SystemAcl object.

capacity
Int32

The number of Access Control Entries (ACEs) this SystemAcl object can contain. This number is to be used only as a hint.

Applies to