Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GetApplicationConnection Method (Guid)

HealthVault
Gets a HealthVault application connection without a user context for the configured default 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
)

Parameters

appId
Type: System..::..Guid
The unique application identifier for the application to get the connection for.

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