RemoveApplicationAuthorization Method
TOC
Collapse the table of content
Expand the table of content

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)

'Declaration
Public Shared Sub RemoveApplicationAuthorization ( _
	connection As ApplicationConnection, _
	accessor As HealthRecordAccessor _
)

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:
© 2016 Microsoft