Data.Cloud.AzureAPI.TAzureBlobService.RenewBlobLease
Delphi
function RenewBlobLease(ContainerName, BlobName: string; const LeaseId: string; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall RenewBlobLease(System::UnicodeString ContainerName, System::UnicodeString BlobName, const System::UnicodeString LeaseId, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Description
Attempts to renew the specified lease for the given blob.
RenewBlobLease attempts to renew the specified lease for the given blob.
The following table describes the parameters:
| Parameter | Description |
|---|---|
|
|
The name of the container the blob is in. |
|
|
The name of the blob to renew the lease for. |
|
|
The ID of the lease that was previously acquired. |
|
|
The optional class for storing response info into. |
The method returns True if the lease was renewed, and False otherwise.