This documentation is archived and is not being maintained.

ServiceDefinition::GetLocationMapping Method

Returns the LocationMapping for the AccessMapping provided or null if this ServiceDefinition does not have a LocationMapping for the provided AccessMapping. This function will always return null if it is called on a non-relative ServiceDefinition.

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

public:
LocationMapping^ GetLocationMapping(
	AccessMapping^ accessMapping
)

Parameters

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

The AccessMapping to find the LocationMapping for.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client::LocationMapping
The LocationMapping for the AccessMapping provided or null if this ServiceDefinition does not have a LocationMapping for the provided AccessMapping. This function will always return null if it is called on a non-relative ServiceDefinition.

Show: