Data.Cloud.AzureAPI.TAzureBlobService.ReleaseContainerLease

提供: RAD Studio API Documentation
移動先: 案内検索

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));

プロパティ

種類 可視性 ソース ユニット
function public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI TAzureBlobService


説明

指定された識別子のリース(削除オペレーションのためのロック)を、指定されたコンテナから解放するよう試行し、他のクライアントがそのコンテナ上のリースを取得できるようにします。

ReleaseContainerLease は、次のパラメータを取ります:

  • ContainerName は、ターゲット コンテナの名前です。
  • LeaseId は、指定されたコンテナ上の現在のリースの識別子である、GUID でなければなりません。
  • ResponseInfo は、レスポンスの情報を格納する TCloudResponseInfo の任意のインスタンスです。

ReleaseContainerLease は、リース ID が解放された場合には True、そうでなければ False を返します。

関連項目