ActiveDirectorySiteLink.GetDirectoryEntry Method

Definition

Gets the DirectoryEntry for this object.

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 link.

Exceptions

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

The object has been disposed.

Applies to

See also