Redigera

Dela via


DsmlSoapHttpConnection.SendRequest Method

Definition

Sends an object to the DSML server.

Overloads

SendRequest(DirectoryRequest)

Sends a single DirectoryRequest object.

SendRequest(DsmlRequestDocument)

Sends a DsmlRequestDocument object to the DSML server.

SendRequest(DirectoryRequest)

Sends a single DirectoryRequest object.

public:
 override System::DirectoryServices::Protocols::DirectoryResponse ^ SendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request);
public override System.DirectoryServices.Protocols.DirectoryResponse SendRequest (System.DirectoryServices.Protocols.DirectoryRequest request);
override this.SendRequest : System.DirectoryServices.Protocols.DirectoryRequest -> System.DirectoryServices.Protocols.DirectoryResponse
Public Overrides Function SendRequest (request As DirectoryRequest) As DirectoryResponse

Parameters

request
DirectoryRequest

The request.

Returns

The results of the request.

Exceptions

request is null (Nothing in Visual Basic).

The DSML server returned an error response.

The operation returned a failure code.

Applies to

SendRequest(DsmlRequestDocument)

Sends a DsmlRequestDocument object to the DSML server.

public:
 System::DirectoryServices::Protocols::DsmlResponseDocument ^ SendRequest(System::DirectoryServices::Protocols::DsmlRequestDocument ^ request);
public System.DirectoryServices.Protocols.DsmlResponseDocument SendRequest (System.DirectoryServices.Protocols.DsmlRequestDocument request);
override this.SendRequest : System.DirectoryServices.Protocols.DsmlRequestDocument -> System.DirectoryServices.Protocols.DsmlResponseDocument
Public Function SendRequest (request As DsmlRequestDocument) As DsmlResponseDocument

Parameters

request
DsmlRequestDocument

The request to send to the server.

Returns

The results of the request.

Exceptions

request is null (Nothing in Visual Basic).

Applies to