IServiceManagement Generic Interface
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
An interface which provides a simpler authentication experience.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
Public Interface IServiceManagement(Of TService)
public interface IServiceManagement<TService>
GenericParameters
- TService
Type: IDiscoveryService or IOrganizationService. Specifies a service type.
Remarks
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.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
IServiceManagement Members
Microsoft.Xrm.Sdk.Client Namespace
Improve Service Channel Allocation Performance
Other Resources
Sample: Authenticate Users with Microsoft Dynamics CRM Web Services
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.