IDiscoveryService Interface
Applies To: Dynamics CRM 2015
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((DiscoveryServiceFault^::typeid))]
[ServiceContractAttribute(Name = "IDiscoveryService", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
public interface class IDiscoveryService
[<ServiceKnownTypeAttribute(typeof(DiscoveryServiceFault))>]
[<ServiceContractAttribute(Name = "IDiscoveryService", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>]
type IDiscoveryService = interface end
<ServiceKnownTypeAttribute(GetType(DiscoveryServiceFault))>
<ServiceContractAttribute(Name := "IDiscoveryService", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>
Public Interface IDiscoveryService
Methods
Name | Description | |
---|---|---|
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 with IDiscoveryService web service
Sample: Access the Discovery service
Return to top
© 2016 Microsoft. All rights reserved. Copyright