ReplicationConnection.GetDirectoryEntry Method ()


Retrieves a DirectoryEntry object that represents the replication connection.

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 target of the replication connection.

Exception Condition

The current object has been disposed.


The current object has not been committed to the server. ReplicationConnection.Save must be called first.

.NET Framework
Available since 2.0
Return to top