Share via

IDiscoveryService Interface


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

Provides programmatic access to organization and user information.

Namespace:   Microsoft.Xrm.Sdk.Discovery
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)


[ServiceContractAttribute(Name = "IDiscoveryService", Namespace = "")]
public interface IDiscoveryService
<ServiceContractAttribute(Name := "IDiscoveryService", Namespace := "")>
Public Interface IDiscoveryService


Name Description
System_CAPS_pubmethod Execute(DiscoveryRequest)

Executes a discovery service message in the form of a request, and returns a response.


Refer to DiscoveryServiceProxy for an implementation of this interface.

See Also

Microsoft.Xrm.Sdk.Discovery Namespace
Discover the URL for your organization using the Organization Service
Sample: Access the Discovery service

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright