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.
Toggles paid billing state for the specified account id and resource name. The specified resource must be a pay as go resource otherwise an argument exception is thrown back to the caller.
Namespace: Microsoft.VisualStudio.Services.Commerce
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub TogglePaidBilling ( _
requestContext As TeamFoundationRequestContext, _
resourceName As ResourceName, _
paidBillingState As Boolean _
)
void TogglePaidBilling(
TeamFoundationRequestContext requestContext,
ResourceName resourceName,
bool paidBillingState
)
void TogglePaidBilling(
TeamFoundationRequestContext^ requestContext,
ResourceName resourceName,
bool paidBillingState
)
abstract TogglePaidBilling :
requestContext:TeamFoundationRequestContext *
resourceName:ResourceName *
paidBillingState:bool -> unit
function TogglePaidBilling(
requestContext : TeamFoundationRequestContext,
resourceName : ResourceName,
paidBillingState : boolean
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeam Foundation Service Request Context
resourceName
Type: Microsoft.VisualStudio.Services.Commerce.ResourceNameUnique name of the resource
paidBillingState
Type: System.BooleanDesired paid billing state, true to enable and false to disable.
.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.