ILicensingService 接口

命名空间:  Microsoft.VisualStudio.Services.Licensing
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Interface ILicensingService _
    Inherits ITeamFoundationService
public interface ILicensingService : ITeamFoundationService

ILicensingService 类型公开以下成员。

方法

  名称 说明
公共方法 AssignAccountEntitlement
公共方法 AssignAvailableAccountEntitlement
公共方法 GetAccountEntitlements
公共方法 GetAccountLicensesUsage
公共方法 GetCertificate
公共方法 GetClientRightsContainer
公共方法 GetServiceRights
公共方法 GetUsageRights
公共方法 ServiceEnd ServiceEnd 调用,当托管是它保留中的关闭时,该服务应释放所有资源。 (继承自 ITeamFoundationService。)
公共方法 ServiceStart 当服务初始化时,ServiceStart 调用。如果服务 intialized 异步它必须实现用于确定的 Service_Ready 服务时准备用户访问它。 (继承自 ITeamFoundationService。)

页首

请参阅

参考

Microsoft.VisualStudio.Services.Licensing 命名空间