AddRequest Class

 

The AddRequest class adds an entry to the directory.

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


public ref class AddRequest : DirectoryRequest

NameDescription
System_CAPS_pubmethodAddRequest()

The AddRequest() constructor creates an instance of the AddRequest class.

System_CAPS_pubmethodAddRequest(String^, array<DirectoryAttribute^>^)

The AddRequest(String^, array<DirectoryAttribute^>^) constructor creates an instance of the AddRequest class using the specified distinguished name and attributes.

System_CAPS_pubmethodAddRequest(String^, String^)

The AddRequest(String^, String^) constructor creates an instance of the AddRequest class using the specified distinguishedName and the object class.

NameDescription
System_CAPS_pubpropertyAttributes

The Attributes property contains a DirectoryAttributeCollection of attribute-value pairs for the object.

System_CAPS_pubpropertyControls

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

System_CAPS_pubpropertyDistinguishedName

The DistinguishedName property contains the distinguished name 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^).)

The request may be added to the DsmlRequestDocument or it can be used as the parameter for SendRequest.

.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: