DsmlSoapHttpConnection.SendRequest Method

Definition

Sends an object to the DSML server.

Overloads

SendRequest(DirectoryRequest)

Sends a single DirectoryRequest object.

public override System.DirectoryServices.Protocols.DirectoryResponse SendRequest (System.DirectoryServices.Protocols.DirectoryRequest request);

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

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SendRequest(DsmlRequestDocument)

Sends a DsmlRequestDocument object to the DSML server.

public System.DirectoryServices.Protocols.DsmlResponseDocument SendRequest (System.DirectoryServices.Protocols.DsmlRequestDocument request);

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

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1