C# 클래스 Novell.Directory.Ldap.Extensions.AddReplicaRequest

Adds a replica to the specified directory server. To add a replica to 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 addReplicaRequest extension uses the following OID: 2.16.840.1.113719.1.27.100.7 The requestValue has the following format: requestValue ::= flags INTEGER replicaType INTEGER serverName LdapDN dn LdapDN
상속: Novell.Directory.Ldap.LdapExtendedOperation
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
AddReplicaRequest ( System dn, System serverDN, int replicaType, int flags ) : System

Constructs a new extended operation object for adding a replica to the specified server.

메소드 상세

AddReplicaRequest() 공개 메소드

Constructs a new extended operation object for adding a replica to the specified server.
LdapException A general exception which includes an error message /// and an Ldap error code. /// ///
public AddReplicaRequest ( 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 new replica will be added. /// ///
replicaType int The type of replica to add. 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. /// ///
리턴 System