GetValidatedConnections Method (OfflineWebApplicationConnection)

HealthVault
Gets the connections for the application that people have accepted.

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

public:
static Collection<ValidatedPatientConnection^>^ GetValidatedConnections(
	OfflineWebApplicationConnection^ connection
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The application's connection to HealthVault.

Return Value

A collection of the connections that people have accepted.

Validated connect requests are removed by HealthVault after 90 days. It is advised that applications call GetValidatedConnections(OfflineWebApplicationConnection) or GetValidatedConnections(OfflineWebApplicationConnection, DateTime) daily or weekly to ensure that all validated connect requests are retrieved.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
Show: