IServiceManagement 泛型接口

应用到: CRM 2015 on-prem, CRM Online

An interface which provides a simpler authentication experience.

命名空间: Microsoft.Xrm.Sdk.Client
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)

语法

声明
Public Interface IServiceManagement(Of TService)
public interface IServiceManagement<TService>

GenericParameters

备注

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.

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

IServiceManagement 成员
Microsoft.Xrm.Sdk.Client 命名空间
Improve Service Channel Allocation Performance

其他资源

Sample: Authenticate Users with Microsoft Dynamics CRM Web Services

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.