Share via


IMeteringService.SetAccountQuantity Method

Updates account level included and maximum quantities. The new included quantity allows the usage to be free until this quantity. The new maximum quantity is the maximum billable quantity that is allowed for the account.

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

Syntax

'Declaration
Sub SetAccountQuantity ( _
    requestContext As TeamFoundationRequestContext, _
    resourceName As ResourceName, _
    includedQuantity As Integer, _
    maximumQuantity As Integer _
)
void SetAccountQuantity(
    TeamFoundationRequestContext requestContext,
    ResourceName resourceName,
    int includedQuantity,
    int maximumQuantity
)
void SetAccountQuantity(
    TeamFoundationRequestContext^ requestContext, 
    ResourceName resourceName, 
    int includedQuantity, 
    int maximumQuantity
)
abstract SetAccountQuantity : 
        requestContext:TeamFoundationRequestContext * 
        resourceName:ResourceName * 
        includedQuantity:int * 
        maximumQuantity:int -> unit
function SetAccountQuantity(
    requestContext : TeamFoundationRequestContext, 
    resourceName : ResourceName, 
    includedQuantity : int, 
    maximumQuantity : int
)

Parameters

.NET Framework Security

See Also

Reference

IMeteringService Interface

Microsoft.VisualStudio.Services.Commerce Namespace