Share via


QuotaDefinitionsManager.TryGetQuotaDefinition Method

Retreive a quota definition based on its name. the call is valied at all levels. For collection level, the account quota definition is returned(if the quota definition was overriden); otherwise the deployment level quota definition(it exists)

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

Syntax

'Declaration
Public Function TryGetQuotaDefinition ( _
    requestContext As TeamFoundationRequestContext, _
    quotaName As String, _
    <OutAttribute> ByRef quotaDefinition As QuotaDefinition _
) As Boolean
public bool TryGetQuotaDefinition(
    TeamFoundationRequestContext requestContext,
    string quotaName,
    out QuotaDefinition quotaDefinition
)
public:
bool TryGetQuotaDefinition(
    TeamFoundationRequestContext^ requestContext, 
    String^ quotaName, 
    [OutAttribute] QuotaDefinition^% quotaDefinition
)
member TryGetQuotaDefinition : 
        requestContext:TeamFoundationRequestContext * 
        quotaName:string * 
        quotaDefinition:QuotaDefinition byref -> bool
public function TryGetQuotaDefinition(
    requestContext : TeamFoundationRequestContext, 
    quotaName : String, 
    quotaDefinition : QuotaDefinition
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

QuotaDefinitionsManager Class

Microsoft.TeamFoundation.Framework.Server Namespace