Partager via


QuotaDefinitionsManager.GetQuotaDefinitions Method

It returns all the quota definitions available within the calling context. The result is a merge between quota definitions at deployment and account level. It is available at all levels

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

Syntax

'Declaration
Public Function GetQuotaDefinitions ( _
    requestContext As TeamFoundationRequestContext _
) As IEnumerable(Of QuotaDefinition)
public IEnumerable<QuotaDefinition> GetQuotaDefinitions(
    TeamFoundationRequestContext requestContext
)
public:
IEnumerable<QuotaDefinition^>^ GetQuotaDefinitions(
    TeamFoundationRequestContext^ requestContext
)
member GetQuotaDefinitions : 
        requestContext:TeamFoundationRequestContext -> IEnumerable<QuotaDefinition> 
public function GetQuotaDefinitions(
    requestContext : TeamFoundationRequestContext
) : IEnumerable<QuotaDefinition>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<QuotaDefinition>
Returns IEnumerable<T>.

.NET Framework Security

See Also

Reference

QuotaDefinitionsManager Class

Microsoft.TeamFoundation.Framework.Server Namespace