Export (0) Print
Expand All

GetApplicationInfo Method (HealthServiceConnection, Boolean)

Gets the application configuration information for the calling application.

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

public static ApplicationInfo GetApplicationInfo(
	HealthServiceConnection connection,
	bool allLanguages


Type: Microsoft.Health..::..HealthServiceConnection
The connection to use to perform the operation. This connection must be application level.
Type: System..::..Boolean
A boolean value indicating whether the localized values all languages should be returned, just one language. This affects all properties which can have multiple localized values, including CultureSpecificNames, CultureSpecificDescriptions, CultureSpecificAuthorizationReasons, LargeLogo, SmallLogo, PrivacyStatement, TermsOfUse, and DtcSuccessMessage

Return Value

An ApplicationInfo object for the calling application.

This method always calls the HealthVault service to get the latest information. It returns installation configuration about the calling application.

Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
© 2014 Microsoft