Gets the instance where a HealthVault account should be created for the specified account location.Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 22.214.171.124 (1.15.1003.9505)
public: static HealthServiceInstance^ SelectInstance( HealthServiceConnection^ connection, Location^ preferredLocation )
- Type: Microsoft.Health..::..HealthServiceConnection
The connection to use to perform the operation.
- Type: Microsoft.Health..::..Location
A user's preferred geographical location, used to select the best instance in which to create a new HealthVault account. If there is a location associated with the credential that will be used to log into the account, that location should be used.
Return ValueA HealthServiceInstance object represents the selected instance, or null if no suitable instance exists.