Discuss this help topic in SecureBlackbox Forum

TElWinAzureDataStorage.ObjectExists

TElWinAzureDataStorage     See also     


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


Checks whether data object exists in the storage.

Declaration

[C#/Java]
    bool ObjectExists(string ContainerName, string Name);
    bool ObjectExists(TElWinAzureDataStorageObject Obj);
    bool ObjectExists(string ContainerName, string Name, TElStringList Headers);
    bool ObjectExists(string ContainerName, string Name, string SharedAccessSignature);
    bool ObjectExists(TElWinAzureDataStorageObject Obj, string SharedAccessSignature);
    bool ObjectExists(string ContainerName, string Name, string SharedAccessSignature, TElStringList Headers);

[VB.NET]
    Function ObjectExists(ByVal ContainerName As String, ByVal Name As String) As Boolean
    Function ObjectExists(ByVal Obj As TElWinAzureDataStorageObject) As Boolean
    Function ObjectExists(ByVal ContainerName As String, ByVal Name As String, ByVal Headers As TElStringList) As Boolean
    Function ObjectExists(ByVal ContainerName As String, ByVal Name As String, ByVal SharedAccessSignature As String) As Boolean
    Function ObjectExists(ByVal Obj As TElWinAzureDataStorageObject, ByVal SharedAccessSignature As String) As Boolean
    Function ObjectExists(ByVal ContainerName As String, ByVal Name As String, ByVal SharedAccessSignature As String, ByVal Headers As TElStringList) As Boolean

[Pascal]
    function ObjectExists(const ContainerName : string; const Name : string) : boolean;
    function ObjectExists(Obj : TElWinAzureDataStorageObject) : boolean;
    function ObjectExists(const ContainerName : string; const Name : string; Headers : TStringList) : boolean;
    function ObjectExists(const ContainerName : string; const Name : string; const SharedAccessSignature : string) : boolean;
    function ObjectExists(Obj : TElWinAzureDataStorageObject; const SharedAccessSignature : string) : boolean;
    function ObjectExists(const ContainerName : string; const Name : string; const SharedAccessSignature : string; Headers : TStringList) : boolean;

[C++]
    bool ObjectExists(const std::string &ContainerName, const std::string &Name);
    bool ObjectExists(TElWinAzureDataStorageObject &Obj);
    bool ObjectExists(TElWinAzureDataStorageObject *Obj);
    bool ObjectExists(const std::string &ContainerName, const std::string &Name, TElStringList &Headers);
    bool ObjectExists(const std::string &ContainerName, const std::string &Name, TElStringList *Headers);
    bool ObjectExists(const std::string &ContainerName, const std::string &Name, const std::string &SharedAccessSignature);
    bool ObjectExists(TElWinAzureDataStorageObject &Obj, const std::string &SharedAccessSignature);
    bool ObjectExists(TElWinAzureDataStorageObject *Obj, const std::string &SharedAccessSignature);
    bool ObjectExists(const std::string &ContainerName, const std::string &Name, const std::string &SharedAccessSignature, TElStringList &Headers);
    bool ObjectExists(const std::string &ContainerName, const std::string &Name, const std::string &SharedAccessSignature, TElStringList *Headers);

[PHP]
    bool ObjectExists(string $ContainerName, string $Name)
    bool ObjectExists(TElWinAzureDataStorageObject $Obj)
    bool ObjectExists(string $ContainerName, string $Name, TElStringList $Headers)
    bool ObjectExists(string $ContainerName, string $Name, string $SharedAccessSignature)
    bool ObjectExists(TElWinAzureDataStorageObject $Obj, string $SharedAccessSignature)
    bool ObjectExists(string $ContainerName, string $Name, string $SharedAccessSignature, TElStringList $Headers)

Parameters

  • ContainerName - name of the data container
  • Headers - contains HTTP headers
  • Name - name of the data object
  • Obj - data object which existence should be checked
  • SharedAccessSignature - contains the Shared Access Signature (SAS).

Return value

    Returns True if the object exists in the data storage and False otherwise.

Description

    Use this method to check if certain data objects are present in the storage.

See also:     CreateObject     List    

Discuss this help topic in SecureBlackbox Forum