IDiscoveryService methods
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.
Execute
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.
See Also
Discover the URL for your organization using the Organization Service
Discovery service messages (request and response classes)
Authenticate users in Microsoft Dynamics 365
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright