ApplicationPartition.GetDirectoryEntry Method

Definition

Gets a DirectoryEntry object for this application partition.

public:
 override System::DirectoryServices::DirectoryEntry ^ GetDirectoryEntry();
public override System.DirectoryServices.DirectoryEntry GetDirectoryEntry ();
override this.GetDirectoryEntry : unit -> System.DirectoryServices.DirectoryEntry
Public Overrides Function GetDirectoryEntry () As DirectoryEntry

Returns

The DirectoryEntry for this application partition.

Exceptions

The ApplicationPartition object has not yet been saved in the Active Directory Domain Services store.

The object has been disposed.

Applies to