DeleteTreeAccessRule 构造函数

定义

初始化 DeleteTreeAccessRule 类的新实例。

重载

DeleteTreeAccessRule(IdentityReference, AccessControlType)

使用指定的标识引用和访问控制类型来初始化 DeleteTreeAccessRule 类的新实例。

DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

使用指定的标识引用、访问控制类型和 Active Directory 域服务安全继承来初始化 DeleteTreeAccessRule 类的新实例。

DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

使用指定的标识引用、访问控制类型、Active Directory 域服务安全继承和继承对象类型来初始化 DeleteTreeAccessRule 类的新实例。

DeleteTreeAccessRule(IdentityReference, AccessControlType)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用和访问控制类型来初始化 DeleteTreeAccessRule 类的新实例。

public:
 DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.DeleteTreeAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType)

参数

identity
IdentityReference

一个 IdentityReference 对象,标识访问规则的受信者。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

适用于

DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、访问控制类型和 Active Directory 域服务安全继承来初始化 DeleteTreeAccessRule 类的新实例。

public:
 DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.DeleteTreeAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance)

参数

identity
IdentityReference

一个 IdentityReference 对象,标识访问规则的受信者。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

适用于

DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、访问控制类型、Active Directory 域服务安全继承和继承对象类型来初始化 DeleteTreeAccessRule 类的新实例。

public:
 DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.DeleteTreeAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

参数

identity
IdentityReference

一个 IdentityReference 对象,标识访问规则的受信者。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

inheritedObjectType
Guid

可继承此访问规则的子对象类型的架构 GUID。

适用于