LocationWebService.RemoveAccessMapping Method

Removes an access mapping and all of the locations that are mapped to it within service definitions.

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

Syntax

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

Parameters

  • lastChangeId
    Type: System.Int32

    The lastChangeId of the client.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.LocationServiceData
LocationServiceData informing the caller of the new lastChangeId and whether, based on the client lastChangeId provided, the server thinks the client cache is out of date. Note that no information about removed access mappings are returned.

.NET Framework Security

See Also

Reference

LocationWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace