ServiceConfigurationFactory.CreateConfiguration<TService> Method (Uri)

 

Updated: November 29, 2016

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

Creates a service configuration.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public static IServiceConfiguration<TService> CreateConfiguration<TService>(
	Uri serviceUri
)

Parameters

serviceUri
Type: System.Uri

Specifies the service’s URI.

Return Value

Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<TService>

Type: IServiceConfiguration<TService>
A service configuration object.

Type Parameters

TService

Specifies a Microsoft Dynamics 365 service type: IDiscoveryService or IOrganizationService.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: