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
accessMapping
Type: Microsoft.TeamFoundation.Server.Core.Location.AccessMappingThe accessMapping data used to register or update the access mapping.
lastChangeId
Type: System.Int32The client lastChangeId.
- makeDefault
Type: System.Boolean
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
- 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.