DiscoveryService.CreateServiceConfiguration Method (CrmConnection)
Applies To: Dynamics CRM 2015
Creates the discovery service configuration.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual IServiceConfiguration<IDiscoveryService> CreateServiceConfiguration(
CrmConnection connection
)
protected:
virtual IServiceConfiguration<IDiscoveryService^>^ CreateServiceConfiguration(
CrmConnection^ connection
)
abstract CreateServiceConfiguration :
connection:CrmConnection -> IServiceConfiguration<IDiscoveryService>
override CreateServiceConfiguration :
connection:CrmConnection -> IServiceConfiguration<IDiscoveryService>
Protected Overridable Function CreateServiceConfiguration (
connection As CrmConnection
) As IServiceConfiguration(Of IDiscoveryService)
Parameters
connection
Type: Microsoft.Xrm.Client.CrmConnectionType: CrmConnection. The connection.
Return Value
Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<IDiscoveryService>
Type: IServiceConfiguration<TService><IDiscoveryService>
The configuration for the discovery service.
See Also
DiscoveryService Class
Microsoft.Xrm.Client.Services Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright