Megosztás a következőn keresztül:


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)

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.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

See Also

Reference

ServiceDefinition Class

Microsoft.TeamFoundation.Framework.Client Namespace