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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe current request context.
requestPath
Type: System.StringThe 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
- 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.
See Also
Reference
TeamFoundationLocationService Class