ServiceConfigurationFactory.CreateManagement<TService> Method (Uri, Boolean, Assembly)
Applies To: Dynamics CRM 2015
Creates a service management.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public static IServiceManagement<TService> CreateManagement<TService>(
Uri serviceUri,
bool enableProxyTypes,
Assembly assembly
)
public:
generic<typename TService>
static IServiceManagement<TService>^ CreateManagement(
Uri^ serviceUri,
bool enableProxyTypes,
Assembly^ assembly
)
static member CreateManagement<'TService> :
serviceUri:Uri *
enableProxyTypes:bool *
assembly:Assembly -> IServiceManagement<'TService>
Public Shared Function CreateManagement(Of TService) (
serviceUri As Uri,
enableProxyTypes As Boolean,
assembly As Assembly
) As IServiceManagement(Of TService)
Parameters
serviceUri
Type: System.UriSpecifies the service’s URI.
enableProxyTypes
Type: System.BooleanTrue to enable proxy types; otherwise, False.
assembly
Type: System.Reflection.AssemblyAn assembly containing proxy types.
Return Value
Type: Microsoft.Xrm.Sdk.Client.IServiceManagement<TService>
Type: IServiceManagement<TService>
A service management object.
Type Parameters
- TService
Specifies a Microsoft Dynamics CRM service type: IDiscoveryService or IOrganizationService.
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
© 2016 Microsoft. All rights reserved. Copyright