DiscoveryService.Execute Method (DiscoveryRequest)
Applies To: Dynamics CRM 2013
Executes a discover service message in the form of a request, and returns a response. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public virtual DiscoveryResponse Execute(
DiscoveryRequest request
)
public:
virtual DiscoveryResponse^ Execute(
DiscoveryRequest^ request
)
abstract Execute :
request:DiscoveryRequest -> DiscoveryResponse
override Execute :
request:DiscoveryRequest -> DiscoveryResponse
Public Overridable Function Execute (
request As DiscoveryRequest
) As DiscoveryResponse
Parameters
request
Type: Microsoft.Xrm.Sdk.Discovery.DiscoveryRequestType: DiscoveryRequest . A request instance that defines the action to be performed.
Return Value
Type: Microsoft.Xrm.Sdk.Discovery.DiscoveryResponse
Type: DiscoveryResponse
The response from the request. You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.
Implements
IDiscoveryService.Execute(DiscoveryRequest)
Remarks
This is a wrapper around the IDiscoveryService.Execute method.
See Also
DiscoveryService Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top