Share via


DiscoveryServiceProxy.Execute(DiscoveryRequest) Method

Definition

See IDiscoveryService.Execute(DiscoveryRequest)

public:
 virtual Microsoft::Xrm::Sdk::Discovery::DiscoveryResponse ^ Execute(Microsoft::Xrm::Sdk::Discovery::DiscoveryRequest ^ request);
public Microsoft.Xrm.Sdk.Discovery.DiscoveryResponse Execute (Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest request);
abstract member Execute : Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest -> Microsoft.Xrm.Sdk.Discovery.DiscoveryResponse
override this.Execute : Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest -> Microsoft.Xrm.Sdk.Discovery.DiscoveryResponse
Public Function Execute (request As DiscoveryRequest) As DiscoveryResponse

Parameters

request
DiscoveryRequest

A discovery service request.

Returns

The response from executing the discovery service request.

Implements

Remarks

For more information about the exceptions that can be thrown when calling the Execute method, see Handle exceptions in your code.

Applies to