Partilhar 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)

Syntax

[ServiceKnownTypeAttribute(typeof(DiscoveryServiceFault))]
[ServiceContractAttribute(Name = "IDiscoveryService", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
public interface IDiscoveryService
<ServiceKnownTypeAttribute(GetType(DiscoveryServiceFault))>
<ServiceContractAttribute(Name := "IDiscoveryService", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>
Public Interface IDiscoveryService

Methods

Name Description
System_CAPS_pubmethod Execute(DiscoveryRequest)

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

Remarks

Refer to DiscoveryServiceProxy for an implementation of this interface.

See Also

DiscoveryServiceProxy
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