Export (0) Print
Expand All

GetValidatedConnections Method (OfflineWebApplicationConnection, DateTime)

Gets the connections for the application that people have accepted since the specified date.

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

Public Shared Function GetValidatedConnections ( _
	connection As OfflineWebApplicationConnection, _
	validatedSince As DateTime _
) As Collection(Of ValidatedPatientConnection)


Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The application's connection to HealthVault.
Type: System..::..DateTime
Connections that have been validated since this date will be returned. The date passed should be in UTC time.

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.

System..::..ArgumentNullException If connection is null.
© 2014 Microsoft