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
accessMapping
Type: Microsoft.TeamFoundation.Framework.Server.AccessMappingAn existing access mapping that should become the default access mapping.
lastChangeId
Type: System.Int32The client lastChangeId.
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
- 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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.WebServices Namespace