Export (0) Print
Expand All
Expand Minimize

GetMatchingItems Method

HealthVault
Gets the health record items that match the filters as specified by the properties of this class.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

'Declaration
Public Shared Function GetMatchingItems ( _
	connection As ApplicationConnection, _
	accessor As HealthRecordAccessor, _
	searcher As HealthRecordSearcher _
) As ReadOnlyCollection(Of HealthRecordItemCollection)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to access the data.
accessor
Type: Microsoft.Health..::..HealthRecordAccessor
The record to use.
searcher
Type: Microsoft.Health..::..HealthRecordSearcher
The searcher that defines what items to return. .

Return Value

A collection of health record items that match the applied filters.

This method accesses the HealthVault service across the network.

ExceptionCondition
Microsoft.Health..::..HealthServiceException The response from the server was anything but Ok. -or- Filters is empty or contains invalid filters.
Show:
© 2014 Microsoft