Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetApplicationConnection Method (Guid, HealthServiceInstance)

GetApplicationConnection Method (Guid, HealthServiceInstance)

HealthVault
Gets a HealthVault application connection without a user context for the specified HealthVault web-service instance.

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 GetApplicationConnection(
	Guid appId,
	HealthServiceInstance serviceInstance
)

Parameters

appId
Type: System..::..Guid
The unique application identifier for the application to get the connection for.
serviceInstance
Type: Microsoft.Health..::..HealthServiceInstance
The HealthVault web-service instance.

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:
© 2015 Microsoft