GetBlobStore Method (ConnectPackageCreationParameters)

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(
	ConnectPackageCreationParameters connectPackageParameters
)

Parameters

connectPackageParameters
Type: Microsoft.Health.Package..::..ConnectPackageCreationParameters
The ConnectPackageCreationParameters that define the ConnectPackage to which any BLOB data will be written to.

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.

ExceptionCondition
System..::..ArgumentNullException If connectPackageParameters is null.
Show: