// TerraLib
#include <terralib/dataaccess.h>
#include <terralib/memory.h>

// Examples
#include "DataAccessExamples.h"

// STL
#include <iostream>

void DroppingDataSetTypeProperty(const std::string& datasetname, const std::string &propname, te::da::DataSourceTransactor* trans)
{
  try
  {  
    trans->dropProperty(datasetname, propname);
    return;
  }
  catch(const std::exception& e)
  {
    std::cout << std::endl << "An exception has occurred in Dropping DataSetType Property Example: " << e.what() << std::endl;
  }
  catch(...)
  {
    std::cout << std::endl << "An unexpected exception has occurred in Dropping DataSetType Property Example!" << std::endl;
  }
}


