C# Class Novell.Directory.Ldap.Extensions.RemoveReplicaRequest

Removes a replica from the specified directory server. To remove a replica from a particular server, you must create an instance of this class and then call the extendedOperation method with this object as the required LdapExtendedOperation parameter. The removeReplicaRequest extension uses the following OID: 2.16.840.1.113719.1.27.100.11 The requestValue has the following format: requestValue ::= flags INTEGER serverName LdapDN dn LdapDN
Inheritance: Novell.Directory.Ldap.LdapExtendedOperation
显示文件 Open project: EventStore/csharp-ldap

Public Methods

Method Description
RemoveReplicaRequest ( System dn, System serverDN, int flags ) : System

Constructs an extended operation object for removing a replica.

Method Details

RemoveReplicaRequest() public method

Constructs an extended operation object for removing a replica.
LdapException A general exception which includes an error message /// and an Ldap error code. ///
public RemoveReplicaRequest ( System dn, System serverDN, int flags ) : System
dn System The distinguished name of the replica's /// partition root. /// ///
serverDN System The distinguished name of server from which the replica /// will be removed. /// ///
flags int Determines whether all servers in the replica ring must /// be up before proceeding. When set to zero, the status of the /// servers is not checked. When set to Ldap_ENSURE_SERVERS_UP, /// all servers must be up for the operation to proceed. /// ///
return System