ApplicationPartition 类

定义

ApplicationPartition 类表示特定域的一个应用程序分区。The ApplicationPartition class represents an application partition for a particular domain.

public ref class ApplicationPartition : System::DirectoryServices::ActiveDirectory::ActiveDirectoryPartition
public class ApplicationPartition : System.DirectoryServices.ActiveDirectory.ActiveDirectoryPartition
type ApplicationPartition = class
    inherit ActiveDirectoryPartition
Public Class ApplicationPartition
Inherits ActiveDirectoryPartition
继承
ApplicationPartition

构造函数

ApplicationPartition(DirectoryContext, String)

使用指定的识别名初始化 ApplicationPartition 类的新实例。Initializes a new instance of the ApplicationPartition class, using the specified distinguished name.

ApplicationPartition(DirectoryContext, String, String)

使用指定的识别名和对象类初始化 ApplicationPartition 类的新实例。Initializes a new instance of the ApplicationPartition class, using the specified distinguished name and object class.

属性

DirectoryServers

获取一个 DirectoryServerCollection 对象,该对象包含承载此应用程序分区的目录服务器。Gets an DirectoryServerCollection object that contains the directory servers that host this application partition.

Name

获取分区名称。Gets the partition name.

(继承自 ActiveDirectoryPartition)
SecurityReferenceDomain

获取或设置此应用程序分区的安全性引用域。Gets or sets the security reference domain for this application partition.

方法

Delete()

删除此应用程序分区。Deletes this application partition.

Dispose()

释放由该对象占用的所有托管资源和非托管资源。Releases all managed and unmanaged resources that are held by the object.

(继承自 ActiveDirectoryPartition)
Dispose(Boolean)

释放由 ApplicationPartition 对象使用的托管资源,并可选择释放非托管资源。Releases the managed resources that are used by the ApplicationPartition object and optionally releases unmanaged resources.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
FindAllDirectoryServers()

返回一个 ReadOnlyDirectoryServerCollection 对象,此对象包含承载此应用程序分区的所有目录服务器。Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition.

FindAllDirectoryServers(String)

返回一个 ReadOnlyDirectoryServerCollection 对象,此对象包含在指定站点承载此应用程序分区的所有目录服务器。Returns an ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition in the specified site.

FindAllDiscoverableDirectoryServers()

返回一个 ReadOnlyDirectoryServerCollection 对象,该对象包含所有满足以下条件的目录服务器:已为当前站点注册了特定于站点的 DNS 记录,或已为应用程序分区注册了非特定于站点的 DNS 记录。Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered either a site-specific DNS record for the current site or a non-site-specific DNS record for the application partition.

FindAllDiscoverableDirectoryServers(String)

返回一个 ReadOnlyDirectoryServerCollection 对象,该对象包含所有满足以下条件的目录服务器:已为指定站点和应用程序分区注册了特定于站点的 DNS 记录。Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered a site-specific DNS record, for the specified site, for the application partition.

FindByName(DirectoryContext, String)

对于给定的 ApplicationPartition 对象和识别名,返回一个 DirectoryContext 对象。Returns an ApplicationPartition object for a given DirectoryContext object and distinguished name.

FindDirectoryServer()

返回此应用程序分区和当前站点的 DirectoryServer 对象。Returns a DirectoryServer object for this application partition and current site.

FindDirectoryServer(Boolean)

使用忽略缓存信息的选项返回此应用程序分区和当前站点的 DirectoryServer 对象。Returns a DirectoryServer object for the application partition and current site with an option to ignore cached information.

FindDirectoryServer(String)

返回此应用程序分区和指定站点的 DirectoryServer 对象。Returns a DirectoryServer object for the application partition and a specified site.

FindDirectoryServer(String, Boolean)

使用忽略缓存信息的选项返回此应用程序分区和指定站点的 DirectoryServer 对象。Returns a DirectoryServer object for this application partition for a specified site, with an option to ignore cached information.

GetApplicationPartition(DirectoryContext)

返回指定目录上下文的 ApplicationPartition 对象。Returns an ApplicationPartition object for a specified directory context.

GetDirectoryEntry()

获取此应用程序分区的 DirectoryEntry 对象。Gets a DirectoryEntry object for this application partition.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Save()

将对当前应用程序分区对象的所有更改提交到基础目录存储区。Commits all changes to the current application partition object to the underlying directory store.

ToString()

检索当前目录分区的字符串表示形式。Retrieves a string representation of the current directory partition.

(继承自 ActiveDirectoryPartition)

安全性

DirectoryServicesPermission
需求值: LinkDemandDemand value: LinkDemand

适用于