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
ObjectDisposedException

The current object has been disposed.

InvalidOperationException

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
Show: