Dela via


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

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

See Also

Reference

ServiceDefinition Class

Microsoft.TeamFoundation.Framework.Server Namespace