Export (0) Print
Expand All

IServiceManagement Generic Interface

Applies To: CRM 2015 on-prem, CRM Online

An interface which provides a simpler authentication experience.

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

public interface IServiceManagement<TService>

GenericParameters

TService

Type: IDiscoveryService or IOrganizationService. Specifies a service type.

Instances of the IServiceConfiguration and IServiceManagement interfaces are basically interchangeable, the only real difference being that the IServiceManagement interface exposes support for the AuthenticationCredentials class and a single Authenticate call that covers most scenarios.

For best performance, create an instance of this interface only one time per client session and re-use that instance as necessary.


Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft