Export (0) Print
Expand All

ILocationService.SetDefaultAccessMapping Method

Sets the default AccessMapping to the AccessMapping passed in.

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

void SetDefaultAccessMapping(
	AccessMapping accessMapping
)

Parameters

accessMapping
Type: Microsoft.TeamFoundation.Framework.Client.AccessMapping

The AccessMapping that should become the default AccessMapping. This AccessMapping must already be configured with this location service.

ExceptionCondition
AccessMappingNotRegisteredException

The AccessMapping being set to the default has not been registered.

Show:
© 2015 Microsoft