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

GetAuthorizedRecords Method

HealthVault
Gets the HealthRecordInfo for the records identified by the specified recordIds.

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

'Declaration
Public Shared Function GetAuthorizedRecords ( _
	connection As ApplicationConnection, _
	recordIds As IList(Of Guid) _
) As Collection(Of HealthRecordInfo)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to perform the operation. This connection must be authenticated.
recordIds
Type: System.Collections.Generic..::..IList<(Of <(<'Guid>)>)>
The unique identifiers for the records to retrieve.

Return Value

A collection of the records matching the specified record identifiers and authorized for the authenticated person.

This method is useful in cases where the application is storing record identifiers and needs access to the functionality provided by the object model.
Show:
© 2016 Microsoft