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.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.Server.AccessMappingThe [AccessMapping] to find the [LocationMapping] for.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.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.