Editar

Compartilhar via


AddRequest Class

Definition

The AddRequest class adds an entry to the directory.

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

Remarks

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

Constructors

AddRequest()

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

AddRequest(String, DirectoryAttribute[])

The AddRequest(String, DirectoryAttribute[]) constructor creates an instance of the AddRequest class using the specified distinguished name and attributes.

AddRequest(String, String)

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

Properties

Attributes

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

Controls

The Controls property contains a DirectoryControlCollection object.

(Inherited from DirectoryRequest)
DistinguishedName

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