Partager via


TeamFoundationLocationService.DetermineAccessMapping Method (TeamFoundationRequestContext, String)

Determines what access mapping this location comes from. This is accomplished 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
Public Function DetermineAccessMapping ( _
    requestContext As TeamFoundationRequestContext, _
    requestPath As String _
) As AccessMapping
public AccessMapping DetermineAccessMapping(
    TeamFoundationRequestContext requestContext,
    string requestPath
)
public:
virtual AccessMapping^ DetermineAccessMapping(
    TeamFoundationRequestContext^ requestContext, 
    String^ requestPath
) sealed
abstract DetermineAccessMapping : 
        requestContext:TeamFoundationRequestContext * 
        requestPath:string -> AccessMapping  
override DetermineAccessMapping : 
        requestContext:TeamFoundationRequestContext * 
        requestPath:string -> AccessMapping
public final function DetermineAccessMapping(
    requestContext : TeamFoundationRequestContext, 
    requestPath : String
) : AccessMapping

Parameters

  • requestPath
    Type: System.String

    The location whose access mapping must be determined.

Return Value

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

Implements

ITeamFoundationLocationService.DetermineAccessMapping(TeamFoundationRequestContext, String)

.NET Framework Security

See Also

Reference

TeamFoundationLocationService Class

DetermineAccessMapping Overload

Microsoft.TeamFoundation.Framework.Server Namespace