GetAlternateIds Method

Gets the list of alternate IDs that are associated with a record.

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

public Collection<string> GetAlternateIds()

If there are no associated alternate IDs, this method will return an empty list.

Microsoft.Health..::..HealthServiceException The HealthVault service returned an error. If the alternate Id is not associated with a person and record id, the ErrorCode property will be set to AlternateIdNotFound.