共用方式為


IDiscoveryService methods

 

Applies To: Dynamics CRM 2013

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 CRM 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 with IDiscoveryService web service
Discovery service messages (request and response classes)
Authenticate users with Microsoft Dynamics CRM 2013 web services