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.

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationLicensingService

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
public class TeamFoundationLicensingService : ITeamFoundationService

The TeamFoundationLicensingService type exposes the following members.

  NameDescription
Public methodAddUserLicenseAdds a user to the given license
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAllLicenses
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLicenseFeatureGet a license feature by its ID, or throw if not found
Public methodGetLicensesForUser
Public methodGetLicenseType
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsFeatureSupportedReturns true if the given feature is supported for the user context
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveUserLicenseRemove the user from the given license
Public methodServiceEndService end
Public methodServiceStartService start
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: