Partager via


LocationWebService.ConfigureAccessMapping Method

Adds or updates the access mapping with the provided accessMapping data. This function optionally generates or updates location mappings for all registered services that are relative to a given tier.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function ConfigureAccessMapping ( _
    accessMapping As AccessMapping, _
    lastChangeId As Integer, _
    makeDefault As Boolean _
) As LocationServiceData
[WebMethodAttribute]
public LocationServiceData ConfigureAccessMapping(
    AccessMapping accessMapping,
    int lastChangeId,
    bool makeDefault
)
[WebMethodAttribute]
public:
LocationServiceData^ ConfigureAccessMapping(
    AccessMapping^ accessMapping, 
    int lastChangeId, 
    bool makeDefault
)
[<WebMethodAttribute>]
member ConfigureAccessMapping : 
        accessMapping:AccessMapping * 
        lastChangeId:int * 
        makeDefault:bool -> LocationServiceData
public function ConfigureAccessMapping(
    accessMapping : AccessMapping, 
    lastChangeId : int, 
    makeDefault : boolean
) : LocationServiceData

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.Location.LocationServiceData
LocationServiceData containing all valid access mappings including the one that was just registered as well as all of the definitions registered in this location service.

.NET Framework Security

See Also

Reference

LocationWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace