Export (0) Print
Expand All

GetApplication Method

Gets the configuration information for the specified child application ID.

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

public static ApplicationInfo GetApplication(
	OfflineWebApplicationConnection connection,
	Guid childApplicationId


Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The connection to use to get the application information.
Type: System..::..Guid
The unique application identifier for the child application to get the configuration information for.

Return Value

Configuration information for the specified child application.

System..::..ArgumentNullException If connection is null.
System..::..ArgumentException If childApplicationId is Empty.
Microsoft.Health..::..HealthServiceAccessDeniedException If the application specified in the connection is not a master application, or if childApplicationId does not identify a child application of the calling application.
Microsoft.Health..::..HealthServiceException If there is an error when the HealthVault service is called.
© 2014 Microsoft