Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.GetBucketVersioning

TElAWSS3DataStorage     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Retrieves versioning state of the bucket.

Declaration

[C#]
    TSBAWSS3BucketVersioning GetBucketVersioning(string BucketName);
    TSBAWSS3BucketVersioning GetBucketVersioning(TElAWSS3DataStorageBucket Bucket);
    TSBAWSS3BucketVersioning GetBucketVersioning(string BucketName, TElStringList Headers);

[VB.NET]
    Function GetBucketVersioning(ByVal BucketName As String) As TSBAWSS3BucketVersioning
    Function GetBucketVersioning(ByVal Bucket As TElAWSS3DataStorageBucket) As TSBAWSS3BucketVersioning
    Function GetBucketVersioning(ByVal BucketName As String, ByVal Headers As TElStringList) As TSBAWSS3BucketVersioning

[Pascal]
    function GetBucketVersioning(const BucketName : string) : TSBAWSS3BucketVersioning;
    function GetBucketVersioning(Bucket : TElAWSS3DataStorageBucket) : TSBAWSS3BucketVersioning;
    function GetBucketVersioning(const BucketName : string; Headers : TStringList) : TSBAWSS3BucketVersioning;

[C++]
    TSBAWSS3BucketVersioning GetBucketVersioning(const std::string &BucketName);
    TSBAWSS3BucketVersioning GetBucketVersioning(TElAWSS3DataStorageBucket &Bucket);
    TSBAWSS3BucketVersioning GetBucketVersioning(TElAWSS3DataStorageBucket *Bucket);
    TSBAWSS3BucketVersioning GetBucketVersioning(const std::string &BucketName, TElStringList &Headers);
    TSBAWSS3BucketVersioning GetBucketVersioning(const std::string &BucketName, TElStringList *Headers);

[PHP]
    integer GetBucketVersioning(string $BucketName)
    integer GetBucketVersioning(TElAWSS3DataStorageBucket $Bucket)
    integer GetBucketVersioning(string $BucketName, TElStringList $Headers)

[Java]
    TSBAWSS3BucketVersioning getBucketVersioning(String BucketName);
    TSBAWSS3BucketVersioning getBucketVersioning(String BucketName, TElStringList Headers);
    TSBAWSS3BucketVersioning getBucketVersioning(TElAWSS3DataStorageBucket Bucket);

Parameters

  • Bucket - specifies the desired bucket.
  • BucketName - specifies the name of the desired bucket.
  • Headers - contains custom headers of the HTTP request.

Return value

    Returns bucket's versioning state.

Possible values:

Description

    Use this method to get versioning state of the desired bucket.

See also:     SetBucketVersioning    

Discuss this help topic in SecureBlackbox Forum