GetMatchingItems Method

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: (1.15.1003.9505)

public ReadOnlyCollection<HealthRecordItemCollection> GetMatchingItems()

Return Value

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

This method accesses the HealthVault service across the network.

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