ServiceConfigurationFactory.CreateManagement Method

Definition

Overloads

CreateManagement<TService>(Uri)

Creates a service management.

CreateManagement<TService>(Uri, Boolean, Assembly)

Creates a service management.

CreateManagement<TService>(Uri)

Creates a service management.

public:
generic <typename TService>
 static Microsoft::Xrm::Sdk::Client::IServiceManagement<TService> ^ CreateManagement(Uri ^ serviceUri);
public static Microsoft.Xrm.Sdk.Client.IServiceManagement<TService> CreateManagement<TService> (Uri serviceUri);
static member CreateManagement : Uri -> Microsoft.Xrm.Sdk.Client.IServiceManagement<'Service>
Public Shared Function CreateManagement(Of TService) (serviceUri As Uri) As IServiceManagement(Of TService)

Type Parameters

TService

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

Parameters

serviceUri
Uri

Specifies the service’s URI.

Returns

A service management object.

See also

Applies to

CreateManagement<TService>(Uri, Boolean, Assembly)

Creates a service management.

public:
generic <typename TService>
 static Microsoft::Xrm::Sdk::Client::IServiceManagement<TService> ^ CreateManagement(Uri ^ serviceUri, bool enableProxyTypes, System::Reflection::Assembly ^ assembly);
public static Microsoft.Xrm.Sdk.Client.IServiceManagement<TService> CreateManagement<TService> (Uri serviceUri, bool enableProxyTypes, System.Reflection.Assembly assembly);
static member CreateManagement : Uri * bool * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.Client.IServiceManagement<'Service>
Public Shared Function CreateManagement(Of TService) (serviceUri As Uri, enableProxyTypes As Boolean, assembly As Assembly) As IServiceManagement(Of TService)

Type Parameters

TService

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

Parameters

serviceUri
Uri

Specifies the service’s URI.

enableProxyTypes
Boolean

True to enable proxy types; otherwise, false.

assembly
Assembly

An assembly containing proxy types.

Returns

A service management object.

Applies to