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

Changes the type of the replica that resides on the specified directory server. To change a replica's type, you must create an instance of this class and then call the extendedOperation method with this object as the required LdapExtendedOperation parameter. The changeReplicaTypeRequest extension uses the following OID: 2.16.840.1.113719.1.27.100.15 The requestValue has the following format: requestValue ::= flags INTEGER replicaType INTEGER serverName LdapDN dn LdapDN
Inheritance: Novell.Directory.Ldap.LdapExtendedOperation
Mostrar archivo Open project: EventStore/csharp-ldap

Public Methods

Method Description
ChangeReplicaTypeRequest ( System dn, System serverDN, int replicaType, int flags ) : System

Constructs a new extended operation object for changing a replica's type.

Method Details

ChangeReplicaTypeRequest() public method

Constructs a new extended operation object for changing a replica's type.
LdapException A general exception which includes an error message /// and an Ldap error code. /// ///
public ChangeReplicaTypeRequest ( System dn, System serverDN, int replicaType, int flags ) : System
dn System The distinguished name of the replica's /// partition root. /// ///
serverDN System The server on which the replica resides. /// /// ///
replicaType int The new replica type. The replica types are defined /// in the ReplicationConstants class. /// ///
flags int Specifies 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