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 class ModifyDNRequest : System.DirectoryServices.Protocols.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

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)