共用方式為


Microsoft.Xrm.Sdk.Discovery Namespace

 

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

This namespace is used to interact with the discovery service Web service, which provides a mechanism to find the organizations that a system user belongs to and obtain the Web service endpoints for those organizations. The Web service is also used to obtain policy and ticket information that is used for organization service Web service authentication.

Classes

Class Description
System_CAPS_pubclass ClientInfo

For internal use only.

System_CAPS_pubclass ClientPatchInfo

For internal use only.

System_CAPS_pubclass DiscoveryRequest

Contains the data that is needed to execute a request and the base class for all discovery service requests.

System_CAPS_pubclass DiscoveryResponse

Contains the response from the request and is the base class for all discovery service responses.

System_CAPS_pubclass EndpointCollection

A collection of service endpoints.

System_CAPS_pubclass OrganizationDetail

Provides detailed information on an organization.

System_CAPS_pubclass OrganizationDetailCollection

Provides a collection of OrganizationDetail instances.

System_CAPS_pubclass RetrieveOrganizationRequest

Contains the data that is needed to retrieve information about an organization.

System_CAPS_pubclass RetrieveOrganizationResponse

Contains the response from processing RetrieveOrganizationRequest.

System_CAPS_pubclass RetrieveOrganizationsRequest

Contains the data that is needed to retrieve information on all organizations that the logged on user belongs to.

System_CAPS_pubclass RetrieveOrganizationsResponse

Contains the response from processing RetrieveOrganizationsRequest.

System_CAPS_pubclass RetrieveUserIdByExternalIdRequest

Contains the data that is needed to retrieve the Microsoft Dynamics 365 or Microsoft Dynamics 365 (online) system user ID that is associated with a given identity provider ID.

System_CAPS_pubclass RetrieveUserIdByExternalIdResponse

Contains the response from processing RetrieveUserIdByExternalIdRequest.

Interfaces

Interface Description
System_CAPS_pubinterface IDiscoveryService

Provides programmatic access to organization and user information.

Enumerations

Enumeration Description
System_CAPS_pubenum ClientTypes

For internal use only.

System_CAPS_pubenum EndpointAccessType

Indicates the type of network access an endpoint has.

For the Web API use the EndpointAccessType EnumType.

System_CAPS_pubenum EndpointType

Identifies the type of service available at an endpoint.

For the Web API use the EndpointType EnumType.

System_CAPS_pubenum EndUserNotificationClient

For internal use only.

System_CAPS_pubenum OrganizationRelease

Describes the release of an organization.

System_CAPS_pubenum OrganizationState

Describes the current state of an organization.

See Also

Discover the URL for your organization using the Organization Service
Messages in the discovery service
Sample: Access the Discovery service

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright