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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe current request context.
requestPath
Type: System.StringThe ___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
- 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
ITeamFoundationLocationService Interface