UpdatePatientConnectionApplicationPatientId Method

HealthVault
Updates an existing pending patient connection with a new application patient identifier.

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

'Declaration
Public Shared Sub UpdatePatientConnectionApplicationPatientId ( _
	connection As OfflineWebApplicationConnection, _
	oldApplicationPatientId As String, _
	newApplicationPatientId As String _
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The HealthVault connection to use for the operation.
oldApplicationPatientId
Type: System..::..String
The application patient identifier that was used to make the initial connection request.
newApplicationPatientId
Type: System..::..String
The new application patient identifier.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
System..::..ArgumentException If oldApplicationPatientId or newApplicationPatientId is null or empty.
Microsoft.Health..::..HealthServiceException If an error occurs when contacting HealthVault.
Show: