ModifyDNRequest Class

 

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

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)


public class ModifyDNRequest : DirectoryRequest

NameDescription
System_CAPS_pubmethodModifyDNRequest()

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

System_CAPS_pubmethodModifyDNRequest(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.

NameDescription
System_CAPS_pubpropertyControls

The Controls property contains a DirectoryControlCollection object.(Inherited from DirectoryRequest.)

System_CAPS_pubpropertyDeleteOldRdn

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

System_CAPS_pubpropertyDistinguishedName

The DistinguishedName property contains the distinguished name of the object.

System_CAPS_pubpropertyNewName

The NewName property contains the new object name.

System_CAPS_pubpropertyNewParentDistinguishedName

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

System_CAPS_pubpropertyRequestId

The RequestId property contains the requestID specified in the request.(Inherited from DirectoryRequest.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodToXmlNode(XmlDocument)

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

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: