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)
Syntax
'Declaration
Public Function GetLocationMapping ( _
    accessMapping As AccessMapping _
) As LocationMapping
public LocationMapping GetLocationMapping(
    AccessMapping accessMapping
)
public:
LocationMapping^ GetLocationMapping(
    AccessMapping^ accessMapping
)
member GetLocationMapping : 
        accessMapping:AccessMapping -> LocationMapping
public function GetLocationMapping(
    accessMapping : AccessMapping
) : LocationMapping
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.
.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.