GetDictionaryConnectionForInstance Method

HealthVault
Gets a HealthVault connection for the specified HealthVault web-service instance, without an authentication token for the user but with an application authentication token, which can be used to access vocabularies.

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

public static ApplicationConnection GetDictionaryConnectionForInstance(
	HealthServiceInstance serviceInstance
)

Parameters

serviceInstance
Type: Microsoft.Health..::..HealthServiceInstance

Return Value

A ApplicationConnection connection.

ExceptionCondition
System.Security..::..SecurityException If the application private key could not be found in the certificate store to sign requests.
Show: