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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- accessMapping
Type: Microsoft.TeamFoundation.Framework.Server.AccessMapping
Return Value
Type: System.String
.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.