Export (0) Print
Expand All
Expand Minimize

RemoveApplicationAuthorization Method

HealthVault
Releases the authorization of the application on the health record.

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

public static void RemoveApplicationAuthorization(
	ApplicationConnection connection,
	HealthRecordAccessor accessor
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to access the data.
accessor
Type: Microsoft.Health..::..HealthRecordAccessor
The record to use.

Once the application releases the authorization to the health record, calling any methods of this HealthRecordAccessor will result in a HealthServiceAccessDeniedException."

ExceptionCondition
Microsoft.Health..::..HealthServiceException Errors during the authorization release.
Show:
© 2014 Microsoft