IDiscoveryService methods

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

The IDiscoveryService Web service provides a single method you can use to determine the correct organization and URL to use to interact with the Microsoft Dynamics 365 Server.

To access the IDiscoveryService Web service, you add a reference to Microsoft.Xrm.Sdk.dll assembly to your Microsoft Visual Studio project, and then add a using or imports statement for the Microsoft.Xrm.Sdk.Discovery namespace.

Use the Execute method to execute a discovery service message. For a list of the messages you can use with this method, see Messages in the discovery service.

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: