GetMatchingItems Method
TOC
Collapse the table of content
Expand the table of content

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)

public:
static ReadOnlyCollection<HealthRecordItemCollection^>^ GetMatchingItems(
	ApplicationConnection^ connection, 
	HealthRecordAccessor^ accessor, 
	HealthRecordSearcher^ searcher
)

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:
© 2016 Microsoft