LocationWebService.QueryServices Method
Returns service definitions and access mapping information for the provided filters. If no changes have occured since lastChangeId, no service data will be returned. If this is the first time this method is being called or the caller wants all of the information returned then -1 should be passed for lastChangeId.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryServices ( _
serviceTypeFilters As List(Of ServiceTypeFilter), _
lastChangeId As Integer _
) As LocationServiceData
[WebMethodAttribute]
public LocationServiceData QueryServices(
List<ServiceTypeFilter> serviceTypeFilters,
int lastChangeId
)
[WebMethodAttribute]
public:
LocationServiceData^ QueryServices(
List<ServiceTypeFilter^>^ serviceTypeFilters,
int lastChangeId
)
[<WebMethodAttribute>]
member QueryServices :
serviceTypeFilters:List<ServiceTypeFilter> *
lastChangeId:int -> LocationServiceData
public function QueryServices(
serviceTypeFilters : List<ServiceTypeFilter>,
lastChangeId : int
) : LocationServiceData
Parameters
serviceTypeFilters
Type: System.Collections.Generic.List<ServiceTypeFilter>This parameter is ignored. It will be removed when we no longer support connecting to and from Rosario Beta 2 clients and servers.
lastChangeId
Type: System.Int32The value that was returned to the caller the last time the registered service data was queried (via either this method of the Connect method). If no changes have occured since lastChangeId, no service data will be returned. If this is the first time this method is being called or the caller wants all of the information returned then -1 should be passed for lastChangeId.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.Location.LocationServiceData
A structure containing the updated lastChangeId, all of the service definitions and access mapping information for the requested services.
.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.