Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IServiceManagement Generic Interface

[Applies to: Microsoft Dynamics CRM 2011]

An interface which provides a simpler authentication experience.

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

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

Windows Server 2008

Target Platforms

Windows Server 2008, Windows 7 (All Versions), Windows Vista (All Versions)

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

Community Additions

Show:
© 2014 Microsoft. All rights reserved.