Partager via


AccountService.GetAccountUrl Method

Returns a URL corresponding to the account host for the account name.

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

Syntax

'Declaration
Public Overridable Function GetAccountUrl ( _
    requestContext As TeamFoundationRequestContext, _
    account As Account _
) As Uri
public virtual Uri GetAccountUrl(
    TeamFoundationRequestContext requestContext,
    Account account
)
public:
virtual Uri^ GetAccountUrl(
    TeamFoundationRequestContext^ requestContext, 
    Account^ account
)
abstract GetAccountUrl : 
        requestContext:TeamFoundationRequestContext * 
        account:Account -> Uri  
override GetAccountUrl : 
        requestContext:TeamFoundationRequestContext * 
        account:Account -> Uri
public function GetAccountUrl(
    requestContext : TeamFoundationRequestContext, 
    account : Account
) : Uri

Parameters

Return Value

Type: System.Uri

.NET Framework Security

See Also

Reference

AccountService Class

Microsoft.VisualStudio.Services.Account Namespace