Delen via


ITeamFoundationLocationService.DetermineAccessMapping Method (TeamFoundationRequestContext, String)

Determines what access mapping this location comes from. This is done by comparing the scheme host and port of the incoming request with the location service entries.

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

Syntax

'Declaration
Function DetermineAccessMapping ( _
    requestContext As TeamFoundationRequestContext, _
    requestPath As String _
) As AccessMapping
AccessMapping DetermineAccessMapping(
    TeamFoundationRequestContext requestContext,
    string requestPath
)
AccessMapping^ DetermineAccessMapping(
    TeamFoundationRequestContext^ requestContext, 
    String^ requestPath
)
abstract DetermineAccessMapping : 
        requestContext:TeamFoundationRequestContext * 
        requestPath:string -> AccessMapping
function DetermineAccessMapping(
    requestContext : TeamFoundationRequestContext, 
    requestPath : String
) : AccessMapping

Parameters

  • requestPath
    Type: System.String

    The location whose access mapping that needs to be determined.

Return Value

Type: Microsoft.VisualStudio.Services.Location.AccessMapping
The access mapping for this location.

.NET Framework Security

See Also

Reference

ITeamFoundationLocationService Interface

DetermineAccessMapping Overload

Microsoft.TeamFoundation.Framework.Server Namespace