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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- account
Type: Microsoft.VisualStudio.Services.Account.Account
Return Value
Type: System.Uri
.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.