Novell.Directory.Ldap.LdapModifyDNRequest.LdapModifyDNRequest C# (CSharp) Method

LdapModifyDNRequest() public method

Constructs a ModifyDN (rename) Request.
public LdapModifyDNRequest ( System dn, System newRdn, System newParentdn, bool deleteOldRdn, LdapControl cont ) : System
dn System The current distinguished name of the entry. /// ///
newRdn System The new relative distinguished name for the entry. /// ///
newParentdn System The distinguished name of an existing entry which /// is to be the new parent of the entry. /// ///
deleteOldRdn bool If true, the old name is not retained as an /// attribute value. If false, the old name is /// retained as an attribute value. /// ///
cont LdapControl Any controls that apply to the modifyDN request, /// or null if none. ///
return System
        public LdapModifyDNRequest(System.String dn, System.String newRdn, System.String newParentdn, bool deleteOldRdn, LdapControl[] cont)
            : base(LdapMessage.MODIFY_RDN_REQUEST, new RfcModifyDNRequest(new RfcLdapDN(dn), new RfcRelativeLdapDN(newRdn), new Asn1Boolean(deleteOldRdn), ((System.Object) newParentdn != null)?new RfcLdapDN(newParentdn):null), cont)
        {
            return ;
        }