ApplicationPartition Methods

The ApplicationPartition type exposes the following members.

  Name Description
Public method Delete Deletes this application partition.
Public method Dispose() Releases all managed and unmanaged resources that are held by the object. (Inherited from ActiveDirectoryPartition.)
Protected method Dispose(Boolean) Releases the managed resources that are used by the ApplicationPartition object and optionally releases unmanaged resources. (Overrides ActiveDirectoryPartition.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAllDirectoryServers() Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition.
Public method FindAllDirectoryServers(String) Returns an ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition in the specified site.
Public method 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.
Public method 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.
Public method Static member FindByName Returns an ApplicationPartition object for a given DirectoryContext object and distinguished name.
Public method FindDirectoryServer() Returns a DirectoryServer object for this application partition and current site.
Public method FindDirectoryServer(Boolean) Returns a DirectoryServer object for the application partition and current site with an option to ignore cached information.
Public method FindDirectoryServer(String) Returns a DirectoryServer object for the application partition and a specified site.
Public method FindDirectoryServer(String, Boolean) Returns a DirectoryServer object for this application partition for a specified site, with an option to ignore cached information.
Public method Static member GetApplicationPartition Returns an ApplicationPartition object for a specified directory context.
Public method GetDirectoryEntry Gets a DirectoryEntry object for this application partition. (Overrides ActiveDirectoryPartition.GetDirectoryEntry().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save Commits all changes to the current application partition object to the underlying directory store.
Public method ToString Retrieves a string representation of the current directory partition. (Inherited from ActiveDirectoryPartition.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft