LocationWebService.SetDefaultAccessMapping Method

Sets the default access mapping to the mapping passed in.

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.Framework.Server.LocationServiceData
LocationServiceData that contains all valid access mappings including the one that was just registered and also all of the definitions registered in this location service.

.NET Framework Security

See Also

Reference

LocationWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace