DiscretionaryAcl 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DiscretionaryAcl 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| DiscretionaryAcl(Boolean, Boolean, Int32) |
使用指定的值初始化类的新实例 DiscretionaryAcl 。 |
| DiscretionaryAcl(Boolean, Boolean, RawAcl) |
使用指定对象中的指定DiscretionaryAcl值初始化类的新实例RawAcl。 |
| DiscretionaryAcl(Boolean, Boolean, Byte, Int32) |
使用指定的值初始化类的新实例 DiscretionaryAcl 。 |
DiscretionaryAcl(Boolean, Boolean, Int32)
- Source:
- ACL.cs
使用指定的值初始化类的新实例 DiscretionaryAcl 。
public:
DiscretionaryAcl(bool isContainer, bool isDS, int capacity);
public DiscretionaryAcl(bool isContainer, bool isDS, int capacity);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * int -> System.Security.AccessControl.DiscretionaryAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, capacity As Integer)
参数
- isContainer
- Boolean
- isDS
- Boolean
如果新的 true 对象是列表 访问控制(ACL)的目录对象,DiscretionaryAcl。
- capacity
- Int32
此DiscretionaryAcl对象可以包含的访问控制项数(ACE)。 此数字仅用于提示。
适用于
DiscretionaryAcl(Boolean, Boolean, RawAcl)
- Source:
- ACL.cs
使用指定对象中的指定DiscretionaryAcl值初始化类的新实例RawAcl。
public:
DiscretionaryAcl(bool isContainer, bool isDS, System::Security::AccessControl::RawAcl ^ rawAcl);
public DiscretionaryAcl(bool isContainer, bool isDS, System.Security.AccessControl.RawAcl? rawAcl);
public DiscretionaryAcl(bool isContainer, bool isDS, System.Security.AccessControl.RawAcl rawAcl);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * System.Security.AccessControl.RawAcl -> System.Security.AccessControl.DiscretionaryAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, rawAcl As RawAcl)
参数
- isContainer
- Boolean
- isDS
- Boolean
如果新的 true 对象是列表 访问控制(ACL)的目录对象,DiscretionaryAcl。
- rawAcl
- RawAcl
新RawAcl对象的基础DiscretionaryAcl对象。 指定 null 以创建空 ACL。
注解
RawAcl 对象中的访问控制项(ACE)将克隆。
适用于
DiscretionaryAcl(Boolean, Boolean, Byte, Int32)
- Source:
- ACL.cs
使用指定的值初始化类的新实例 DiscretionaryAcl 。
public:
DiscretionaryAcl(bool isContainer, bool isDS, System::Byte revision, int capacity);
public DiscretionaryAcl(bool isContainer, bool isDS, byte revision, int capacity);
new System.Security.AccessControl.DiscretionaryAcl : bool * bool * byte * int -> System.Security.AccessControl.DiscretionaryAcl
Public Sub New (isContainer As Boolean, isDS As Boolean, revision As Byte, capacity As Integer)
参数
- isContainer
- Boolean
- isDS
- Boolean
如果新的 true 对象是列表 访问控制(ACL)的目录对象,DiscretionaryAcl。
- revision
- Byte
新 DiscretionaryAcl 对象的修订级别。
- capacity
- Int32
此DiscretionaryAcl对象可以包含的访问控制项数(ACE)。 此数字仅用于提示。