DiscoveryService.ToDiscoveryService Method (CrmConnection)
Applies To: Dynamics CRM 2013
Gets the discovery service.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual IDiscoveryService ToDiscoveryService(
CrmConnection connection
)
protected:
virtual IDiscoveryService^ ToDiscoveryService(
CrmConnection^ connection
)
abstract ToDiscoveryService :
connection:CrmConnection -> IDiscoveryService
override ToDiscoveryService :
connection:CrmConnection -> IDiscoveryService
Protected Overridable Function ToDiscoveryService (
connection As CrmConnection
) As IDiscoveryService
Parameters
connection
Type: Microsoft.Xrm.Client.CrmConnectionType: CrmConnection. The connection.
Return Value
Type: Microsoft.Xrm.Sdk.Discovery.IDiscoveryService
Type: IDiscoveryService
The discover service.
See Also
DiscoveryService Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top