DomainController.GetReplicationMetadata(String) 方法
定义
检索特定的 Active Directory 域服务对象的复制元数据。Retrieves the replication metadata for a specific Active Directory Domain Services object.
public:
override System::DirectoryServices::ActiveDirectory::ActiveDirectoryReplicationMetadata ^ GetReplicationMetadata(System::String ^ objectPath);
public override System.DirectoryServices.ActiveDirectory.ActiveDirectoryReplicationMetadata GetReplicationMetadata (string objectPath);
override this.GetReplicationMetadata : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryReplicationMetadata
Public Overrides Function GetReplicationMetadata (objectPath As String) As ActiveDirectoryReplicationMetadata
参数
- objectPath
- String
到要为其检索复制元数据的对象的路径。The path to the object for which to retrieve the replication metadata.
返回
一个 ActiveDirectoryReplicationMetadata 对象,它包含指定对象的复制元数据。A ActiveDirectoryReplicationMetadata object that contains the replication metadata for the specified object.
例外
调用基础目录服务导致错误。A call to the underlying directory service resulted in an error.
目标服务器忙或不可用。The target server is either busy or unavailable.
objectPath 为 null。objectPath is null.
objectPath 无效。objectPath is not valid.
当前对象已被释放。The current object has been disposed.
指定的帐户没有权限执行此操作。The specified account does not have permission to perform this operation.