Data.Cloud.AmazonAPI.TAmazonQueueService.PurgeQueue
Delphi
function PurgeQueue(const AQueueURL: string; const AResponseInfo: TCloudResponseInfo): Boolean;
C++
bool __fastcall PurgeQueue(const System::UnicodeString AQueueURL, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonQueueService |
Description
Deletes the messages that match the specified queue URL and returns True
on success or False
otherwise.
AResponseInfo
is an instance of TCloudResponseInfo to store the information of the response. Use a nil value if you do not need the information of the response.