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

OpenQuery Class

Represents a saved HealthVault service method invocation that can be invoked any time by anyone through a query-specific URL.

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

public class OpenQuery

OpenQuery instances are inherently insecure. Therefore, store the URL to the instance securely and do not share it. An OpenQuery is created using the static NewQuery(AuthenticatedConnection, HealthRecordSearcher) or NewQuery(AuthenticatedConnection, HealthRecordSearcher, String) method, which returns an OpenQuery instance that contains the query ID and URL to the OpenQuery. Reference an existing OpenQuery using one of the class constructors. The query ID can either be explicitly specified or parsed from the URL, depending on which constructor is used.

© 2015 Microsoft