ServiceConfigurationFactory.CreateManagement<TService> Method (Uri, Boolean, Assembly)


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

Creates a service management.

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


public static IServiceManagement<TService> CreateManagement<TService>(
    Uri serviceUri,
    bool enableProxyTypes,
    Assembly assembly
Public Shared Function CreateManagement(Of TService) (
    serviceUri As Uri,
    enableProxyTypes As Boolean,
    assembly As Assembly
) As IServiceManagement(Of TService)


  • serviceUri
    Type: System.Uri

    Specifies the service’s URI.

  • enableProxyTypes
    Type: System.Boolean

    True to enable proxy types; otherwise, False.

Return Value

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

Type: IServiceManagement<TService>
A service management object.

Type Parameters

See Also

CreateManagement Overload
ServiceConfigurationFactory Class
Microsoft.Xrm.Sdk.Client Namespace
Create early bound entity classes with the code generation tool (CrmSvcUtil.exe)

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright