共用方式為


TeamFoundationOnPremLicensingService.AddUserLicense 方法

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationOnPremLicensingService 類別

Microsoft.TeamFoundation.Server.Core 命名空間