TeamFoundationLicensingService Class
The licensing service allows the system to define a license package and then restrict user access to features according to which licenses they hold.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationLicensingService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
Public Class TeamFoundationLicensingService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
public class TeamFoundationLicensingService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
public ref class TeamFoundationLicensingService : ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
type TeamFoundationLicensingService =
class
interface ITeamFoundationService
end
public class TeamFoundationLicensingService implements ITeamFoundationService
The TeamFoundationLicensingService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TeamFoundationLicensingService |
Top
Methods
Name | Description | |
---|---|---|
AddUserLicense | Adds a user to the given license | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAllLicenses | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLicenseFeature | Get a license feature by its ID, or throw if not found | |
GetLicensesForUser | ||
GetLicenseType | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFeatureSupported | Returns true if the given feature is supported for the user context | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveUserLicense | Remove the user from the given license | |
ServiceEnd | Service end | |
ServiceStart | Service start | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.