DsmlRequestDocument.Add(DirectoryRequest) Method

Definition

The Add(DirectoryRequest) method adds a DirectoryRequest object to the collection.

public:
 int Add(System::DirectoryServices::Protocols::DirectoryRequest ^ request);
public int Add (System.DirectoryServices.Protocols.DirectoryRequest request);
member this.Add : System.DirectoryServices.Protocols.DirectoryRequest -> int
Public Function Add (request As DirectoryRequest) As Integer

Parameters

request
DirectoryRequest

The DirectoryRequest object to add to the collection.

Returns

The index of the DsmlRequestDocument collection at which the DirectoryRequest object was added.

Exceptions

request is a null reference (Nothing in Visual Basic).

Applies to