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

  • makeDefault
    Type: System.Boolean

    If 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

See Also

Reference

TeamFoundationLocationService Class

Microsoft.TeamFoundation.Framework.Server Namespace