Share via


LocationWebService.SetDefaultAccessMapping Method

Sets the default access mapping to the mapping passed in.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function SetDefaultAccessMapping ( _
    accessMapping As AccessMapping, _
    lastChangeId As Integer _
) As LocationServiceData
[WebMethodAttribute]
public LocationServiceData SetDefaultAccessMapping(
    AccessMapping accessMapping,
    int lastChangeId
)
[WebMethodAttribute]
public:
LocationServiceData^ SetDefaultAccessMapping(
    AccessMapping^ accessMapping, 
    int lastChangeId
)
[<WebMethodAttribute>]
member SetDefaultAccessMapping : 
        accessMapping:AccessMapping * 
        lastChangeId:int -> LocationServiceData
public function SetDefaultAccessMapping(
    accessMapping : AccessMapping, 
    lastChangeId : int
) : 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