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
accessMapping
Type: Microsoft.TeamFoundation.Server.Core.Location.AccessMappingThe access mapping to unregister.
lastChangeId
Type: System.Int32The 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.