ModifyDNRequest Class

Definition

The ModifyDNRequest class modifies the distinguished name of an object. This class moves an object to a new parent and/or renames the object.

public ref class ModifyDNRequest : System::DirectoryServices::Protocols::DirectoryRequest
public class ModifyDNRequest : System.DirectoryServices.Protocols.DirectoryRequest
type ModifyDNRequest = class
    inherit DirectoryRequest
Public Class ModifyDNRequest
Inherits DirectoryRequest
Inheritance

Constructors

ModifyDNRequest()

The ModifyDNRequest() constructor creates an instance of the ModifyDNRequest object.

ModifyDNRequest(String, String, String)

The ModifyDNRequest(String, String, String) constructor creates an instance of the ModifyDNRequest object using the specified object name, parent name, and new object name.

Properties

Controls

The Controls property contains a DirectoryControlCollection object.

(Inherited from DirectoryRequest)
DeleteOldRdn

The DeleteOldRdn property specifies whether to delete the old relative distinguished name (RDN) of the object.

DistinguishedName

The DistinguishedName property contains the distinguished name of the object.

NewName

The NewName property contains the new object name.

NewParentDistinguishedName

The NewParentDistinguishedName property contains the distinguished name of the new parent of the object.

RequestId

The RequestId property contains the requestID specified in the request.

(Inherited from DirectoryRequest)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
ToXmlNode(XmlDocument)

The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.

ToXmlNode(XmlDocument)

The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.

(Inherited from DirectoryRequest)

Applies to