ApplicationPartition Class
The ApplicationPartition class represents an application partition for a particular domain.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
System.DirectoryServices.ActiveDirectory::ActiveDirectoryPartition
System.DirectoryServices.ActiveDirectory::ApplicationPartition
| Name | Description | |
|---|---|---|
![]() | ApplicationPartition(DirectoryContext^, String^) | Initializes a new instance of the ApplicationPartition class, using the specified distinguished name. |
![]() | ApplicationPartition(DirectoryContext^, String^, String^) | Initializes a new instance of the ApplicationPartition class, using the specified distinguished name and object class. |
| Name | Description | |
|---|---|---|
![]() | DirectoryServers | Gets an DirectoryServerCollection object that contains the directory servers that host this application partition. |
![]() | Name | Gets the partition name.(Inherited from ActiveDirectoryPartition.) |
![]() | SecurityReferenceDomain | Gets and sets the security reference domain for this application partition. |
| Name | Description | |
|---|---|---|
![]() | Delete() | Deletes this application partition. |
![]() | Dispose() | Releases all managed and unmanaged resources that are held by the object.(Inherited from ActiveDirectoryPartition.) |
![]() | Dispose(Boolean) | Releases the managed resources that are used by the ApplicationPartition object and optionally releases unmanaged resources.(Overrides ActiveDirectoryPartition::Dispose(Boolean).) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | FindAllDirectoryServers() | Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition. |
![]() | FindAllDirectoryServers(String^) | Returns an ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition in the specified site. |
![]() | FindAllDiscoverableDirectoryServers() | 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^) | 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^) | Returns an ApplicationPartition object for a given DirectoryContext object and distinguished name. |
![]() | FindDirectoryServer() | Returns a DirectoryServer object for this application partition and current site. |
![]() | FindDirectoryServer(Boolean) | Returns a DirectoryServer object for the application partition and current site with an option to ignore cached information. |
![]() | FindDirectoryServer(String^) | Returns a DirectoryServer object for the application partition and a specified site. |
![]() | FindDirectoryServer(String^, Boolean) | Returns a DirectoryServer object for this application partition for a specified site, with an option to ignore cached information. |
![]() ![]() | GetApplicationPartition(DirectoryContext^) | Returns an ApplicationPartition object for a specified directory context. |
![]() | GetDirectoryEntry() | Gets a DirectoryEntry object for this application partition.(Overrides ActiveDirectoryPartition::GetDirectoryEntry().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | 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.(Inherited from ActiveDirectoryPartition.) |
Demand value: LinkDemand
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



