Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeam Foundation Service Request Context
resourceName
Type: Microsoft.VisualStudio.Services.Commerce.ResourceNameUnique name of the resource
includedQuantity
Type: System.Int32New included quantity
maximumQuantity
Type: System.Int32New maximum quantity
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.