ApplicationPartition Class

 

The ApplicationPartition class represents an application partition for a particular domain.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

System::Object
  System.DirectoryServices.ActiveDirectory::ActiveDirectoryPartition
    System.DirectoryServices.ActiveDirectory::ApplicationPartition

[DirectoryServicesPermissionAttribute(SecurityAction::LinkDemand, 
	Unrestricted = true)]
public ref class ApplicationPartition : ActiveDirectoryPartition

NameDescription
System_CAPS_pubmethodApplicationPartition(DirectoryContext^, String^)

Initializes a new instance of the ApplicationPartition class, using the specified distinguished name.

System_CAPS_pubmethodApplicationPartition(DirectoryContext^, String^, String^)

Initializes a new instance of the ApplicationPartition class, using the specified distinguished name and object class.

NameDescription
System_CAPS_pubpropertyDirectoryServers

Gets an DirectoryServerCollection object that contains the directory servers that host this application partition.

System_CAPS_pubpropertyName

Gets the partition name.(Inherited from ActiveDirectoryPartition.)

System_CAPS_pubpropertySecurityReferenceDomain

Gets and sets the security reference domain for this application partition.

NameDescription
System_CAPS_pubmethodDelete()

Deletes this application partition.

System_CAPS_pubmethodDispose()

Releases all managed and unmanaged resources that are held by the object.(Inherited from ActiveDirectoryPartition.)

System_CAPS_protmethodDispose(Boolean)

Releases the managed resources that are used by the ApplicationPartition object and optionally releases unmanaged resources.(Overrides ActiveDirectoryPartition::Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindAllDirectoryServers()

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition.

System_CAPS_pubmethodFindAllDirectoryServers(String^)

Returns an ReadOnlyDirectoryServerCollection object that contains all of the directory servers that host this application partition in the specified site.

System_CAPS_pubmethodFindAllDiscoverableDirectoryServers()

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.

System_CAPS_pubmethodFindAllDiscoverableDirectoryServers(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.

System_CAPS_pubmethodSystem_CAPS_staticFindByName(DirectoryContext^, String^)

Returns an ApplicationPartition object for a given DirectoryContext object and distinguished name.

System_CAPS_pubmethodFindDirectoryServer()

Returns a DirectoryServer object for this application partition and current site.

System_CAPS_pubmethodFindDirectoryServer(Boolean)

Returns a DirectoryServer object for the application partition and current site with an option to ignore cached information.

System_CAPS_pubmethodFindDirectoryServer(String^)

Returns a DirectoryServer object for the application partition and a specified site.

System_CAPS_pubmethodFindDirectoryServer(String^, Boolean)

Returns a DirectoryServer object for this application partition for a specified site, with an option to ignore cached information.

System_CAPS_pubmethodSystem_CAPS_staticGetApplicationPartition(DirectoryContext^)

Returns an ApplicationPartition object for a specified directory context.

System_CAPS_pubmethodGetDirectoryEntry()

Gets a DirectoryEntry object for this application partition.(Overrides ActiveDirectoryPartition::GetDirectoryEntry().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave()

Commits all changes to the current application partition object to the underlying directory store.

System_CAPS_pubmethodToString()

Retrieves a string representation of the current directory partition.(Inherited from ActiveDirectoryPartition.)

.NET Framework
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.

Return to top
Show: