共用方式為


TeamFoundationLicensingService.AddUserLicense 方法

命名空間:  Microsoft.TeamFoundation.Framework.Server.Alm
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub AddUserLicense ( _
    requestContext As TeamFoundationRequestContext, _
    licenseTypeId As Guid, _
    userDescriptor As IdentityDescriptor _
)
public void AddUserLicense(
    TeamFoundationRequestContext requestContext,
    Guid licenseTypeId,
    IdentityDescriptor userDescriptor
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationLicensingService 類別

Microsoft.TeamFoundation.Framework.Server.Alm 命名空間