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
accessMapping
Type: Microsoft.TeamFoundation.Server.Core.Location.AccessMappingAn existing access mapping that should become the default access mapping.
lastChangeId
Type: System.Int32The client lastChangeId.
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.