Export (0) Print
Expand All

GetApplication Method

HealthVault
Gets the configuration information for the specified child application ID.

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

public static ApplicationInfo GetApplication(
	OfflineWebApplicationConnection connection,
	Guid childApplicationId
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The connection to use to get the application information.
childApplicationId
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.

ExceptionCondition
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.
Show:
© 2014 Microsoft