UpdateChildApplication Method

HealthVault
Updates the application's configuration in HealthVault.

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

'Declaration
Public Shared Sub UpdateChildApplication ( _
	connection As ApplicationConnection, _
	applicationInfo As ApplicationInfo _
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to make the update.
applicationInfo
Type: Microsoft.Health..::..ApplicationInfo
The updated ApplicationInfo instance.

This method makes a remote call to the HealthVault service. The calling application in the connection must be the same as the application specified by this ApplicationInfo instance or its master application. Note, this update will replace all configuration elements for the application. It is advised that GetApplication(OfflineWebApplicationConnection, Guid) is called to retrieve the existing application configuration before changing values and calling Update.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
Show: