GetBlobStore Method (HealthRecordAccessor)

HealthVault
Gets the BLOB store for this health record item.

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

public BlobStore GetBlobStore(
	HealthRecordAccessor record
)

Parameters

record
Type: Microsoft.Health..::..HealthRecordAccessor
The HealthRecordAccessor that any BLOB data will be written to. This parameter may be null if only read access is required or the BLOB data to be written is for a ConnectPackage.

Return Value

A BlobStore instance related to this health record item.

This method replaces the previous OtherData property. All binary data is now created, updated, and retrieved through BlobStore instance associated with the HealthRecordItem.

GetBlobStore will return an empty store on an existing HealthRecordItem if BlobPayload is not specified when retrieving the item. In this case it is possible to overwrite or remove existing Blobs in the HealthRecordItem instance stored in HealthVault by using the same name as the existing Blob. It is recommended that if you are going to be manipulating Blobs in the BlobStore, that you specify BlobPayload when retrieving the item.
Show: