Share via


TeamFoundationLocationService.GetHostLocation Method

GetHostLocation will return a URL to the root of the host for the given access mapping.

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

Syntax

'Declaration
Public Function GetHostLocation ( _
    requestContext As TeamFoundationRequestContext, _
    accessMapping As AccessMapping _
) As String
public string GetHostLocation(
    TeamFoundationRequestContext requestContext,
    AccessMapping accessMapping
)
public:
String^ GetHostLocation(
    TeamFoundationRequestContext^ requestContext, 
    AccessMapping^ accessMapping
)
member GetHostLocation : 
        requestContext:TeamFoundationRequestContext * 
        accessMapping:AccessMapping -> string
public function GetHostLocation(
    requestContext : TeamFoundationRequestContext, 
    accessMapping : AccessMapping
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace