共用方式為


LocationWebService.RemoveAccessMapping Method

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

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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.Server.Core.Location.LocationServiceData
LocationServiceData informing the caller of the new lastChangeId and whether or not, 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.Server.Core.WebServices Namespace