IServiceManagement 泛型介面
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
- 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
請參閱
參照
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.
© 2015 Microsoft. All rights reserved.