ReplicationConnection.GetDirectoryEntry 方法

定义

检索表示复制连接的 DirectoryEntry 对象。Retrieves a DirectoryEntry object that represents the replication connection.

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

返回

DirectoryEntry

一个 DirectoryEntry 对象,它表示复制连接的目标。A DirectoryEntry object that represents the target of the replication connection.

例外

已释放当前对象。The current object has been disposed.

当前对象尚未提交到服务器。The current object has not been committed to the server. 必须首先调用 Save()Save() must be called first.

适用于

另请参阅