TeamFoundationLocationService.ConfigureAccessMapping Method
Adds a new access mapping to this location service as long as an access zone with the specified moniker does not currently exist. If a moniker already exists, an error will be thrown. This function optionally generates location mappings for all registered services that are relative to a given tier.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function ConfigureAccessMapping ( _
requestContext As TeamFoundationRequestContext, _
accessMapping As AccessMapping, _
makeDefault As Boolean _
) As AccessMapping
public AccessMapping ConfigureAccessMapping(
TeamFoundationRequestContext requestContext,
AccessMapping accessMapping,
bool makeDefault
)
public:
AccessMapping^ ConfigureAccessMapping(
TeamFoundationRequestContext^ requestContext,
AccessMapping^ accessMapping,
bool makeDefault
)
member ConfigureAccessMapping :
requestContext:TeamFoundationRequestContext *
accessMapping:AccessMapping *
makeDefault:bool -> AccessMapping
public function ConfigureAccessMapping(
requestContext : TeamFoundationRequestContext,
accessMapping : AccessMapping,
makeDefault : boolean
) : AccessMapping
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context this call is associated with.
- accessMapping
Type: Microsoft.TeamFoundation.Framework.Server.AccessMapping
makeDefault
Type: System.BooleanIf makeDefault is set to true, this access mapping is made the default. Otherwise the current default is unaffected.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessMapping
The access mapping for the supplied moniker.
.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.