Data.Cloud.AzureAPI.TAzureBlobService.ReleaseContainerLease
Delphi
function ReleaseContainerLease(const ContainerName: string; var LeaseId: string; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall ReleaseContainerLease(const System::UnicodeString ContainerName, 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 release the lease (lock for delete operations) with the specified identifier from the specified container, so that other clients can acquire a lease on that container.
ReleaseContainerLease accepts the following parameters:
ContainerName
is the name of the target container.LeaseId
must be the GUID that is the identifier of the current lease on the specified container.ResponseInfo
is an optional instance of TCloudResponseInfo to store the information of the response.
ReleaseContainerLease returns True
if the lease ID is released or False
otherwise.