ActiveDirectorySite.GetDirectoryEntry Method

Definition

Gets the DirectoryEntry object for this site.

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

Returns

The DirectoryEntry object for this site.

Exceptions

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

The object has been disposed.

Applies to

See also