Data.Cloud.AzureAPI.TAzureBlobService.RenewBlobLease
Delphi
function RenewBlobLease(ContainerName, BlobName, LeaseId: string): Boolean; overload; deprecated 'Use overloaded method instead';
function RenewBlobLease(const AContainerName, ABlobName, ALeaseId: string; const AResponseInfo: TCloudResponseInfo): Boolean; overload;
C++
bool __fastcall RenewBlobLease _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::UnicodeString ContainerName, System::UnicodeString BlobName, System::UnicodeString LeaseId)/* overload */;
bool __fastcall RenewBlobLease(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ALeaseId, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;
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.
See Also
- Data.Cloud.AzureAPI.TAzureBlobService.AcquireBlobLease
- Data.Cloud.AzureAPI.TAzureBlobService.BreakBlobLease
- Data.Cloud.AzureAPI.TAzureBlobService.ChangeBlobLease
- Data.Cloud.AzureAPI.TAzureBlobService.ReleaseBlobLease