ILocationService.RemoveAccessMapping Method

Removes an AccessMapping and all of the locations that are mapped to it within ServiceDefinitions.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

void RemoveAccessMapping(
	string moniker
)

Parameters

moniker
Type: System.String

The moniker for the AccessMapping to remove.

ExceptionCondition
RemoveAccessMappingException

Thrown if the caller tries to remove the default AccessMapping and this location service cannot inherit its default AccessMapping from a parent.

Show: