ActiveDirectorySiteLinkBridge.GetDirectoryEntry Method ()

 

Gets the DirectoryEntry object for the ActiveDirectorySiteLinkBridge object.

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

public DirectoryEntry GetDirectoryEntry()

Return Value

Type: System.DirectoryServices.DirectoryEntry

A DirectoryEntry object that represents the directory entry for the site link bridge object.

Exception Condition
InvalidOperationException

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

ObjectDisposedException

The object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: