Delen via


TeamFoundationLocationService.MapToRootDomain Method

Given a uri, this method will see if the host matches an alternate domain. If so a new uri will be created that uses the root domain as the host.

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

Syntax

'Declaration
Public Function MapToRootDomain ( _
    requestContext As TeamFoundationRequestContext, _
    inputUri As Uri _
) As Uri
public Uri MapToRootDomain(
    TeamFoundationRequestContext requestContext,
    Uri inputUri
)
public:
Uri^ MapToRootDomain(
    TeamFoundationRequestContext^ requestContext, 
    Uri^ inputUri
)
member MapToRootDomain : 
        requestContext:TeamFoundationRequestContext * 
        inputUri:Uri -> Uri
public function MapToRootDomain(
    requestContext : TeamFoundationRequestContext, 
    inputUri : Uri
) : Uri

Parameters

  • inputUri
    Type: System.Uri

    The uri to update to the root domain.

Return Value

Type: System.Uri
Returns Uri.

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace