IMeteringService.GetResourceStatus Method (TeamFoundationRequestContext, ResourceName, Boolean)
Returns detailed facts about specified resource.
Namespace: Microsoft.VisualStudio.Services.Commerce
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function GetResourceStatus ( _
requestContext As TeamFoundationRequestContext, _
resourceName As ResourceName, _
nextBillingPeriod As Boolean _
) As ISubscriptionResource
ISubscriptionResource GetResourceStatus(
TeamFoundationRequestContext requestContext,
ResourceName resourceName,
bool nextBillingPeriod
)
ISubscriptionResource^ GetResourceStatus(
TeamFoundationRequestContext^ requestContext,
ResourceName resourceName,
bool nextBillingPeriod
)
abstract GetResourceStatus :
requestContext:TeamFoundationRequestContext *
resourceName:ResourceName *
nextBillingPeriod:bool -> ISubscriptionResource
function GetResourceStatus(
requestContext : TeamFoundationRequestContext,
resourceName : ResourceName,
nextBillingPeriod : boolean
) : ISubscriptionResource
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeam Foundation Service Request Context
resourceName
Type: Microsoft.VisualStudio.Services.Commerce.ResourceNameUnique name of the resource
- nextBillingPeriod
Type: System.Boolean
Return Value
Type: Microsoft.VisualStudio.Services.Commerce.ISubscriptionResource
Resource Information
.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.