AdamInstance.GetReplicationCursors(String) 方法

定義

傳回指定之磁碟分割的複寫資料指標 (Cursor) 資訊。Returns the replication cursor information for a specified partition.

public:
 override System::DirectoryServices::ActiveDirectory::ReplicationCursorCollection ^ GetReplicationCursors(System::String ^ partition);
public override System.DirectoryServices.ActiveDirectory.ReplicationCursorCollection GetReplicationCursors (string partition);
override this.GetReplicationCursors : string -> System.DirectoryServices.ActiveDirectory.ReplicationCursorCollection
Public Overrides Function GetReplicationCursors (partition As String) As ReplicationCursorCollection

參數

partition
String

String,其中包含要擷取複寫資料指標資訊的磁碟分割之辨別名稱。A String that contains the distinguished name of the partition for which to retrieve the replication cursor information.

傳回

ReplicationCursorCollection

ReplicationCursorCollection 物件,其中包含複寫資料指標資訊。A ReplicationCursorCollection object that contains the replication cursor information.

例外狀況

呼叫基礎目錄服務導致發生錯誤。A call to the underlying directory service resulted in an error.

目標伺服器忙碌或無法使用。The target server is either busy or unavailable.

partition 參數為 nullThe partition parameter is null.

partition 參數無效。The partition parameter is not valid.

物件已被處置。The object has been disposed.

指定的帳戶沒有執行這項作業的權限。The specified account does not have permission to perform this operation.

適用於

另請參閱