sdaiDeleteADB
Deletes an ADB container. All ADB containers that are created during an open _EDMserver_ session will be deleted when the actual open _EDMserver_ session is closed.
See related functions: sdaiCreateADB , sdaiCreateEmptyADB , sdaiGetADBType , sdaiGetADBValue , sdaiPutADBValue
Header:
#include "sdai.h"
Prototype:
void sdaiDeleteADB(SdaiADB adbId);
Arguments:
adbId |
A numeric adbID that uniquely identifies the ADB container to delete. |
Returns:
Void – use sdaiErrorQuery to check for error during operation.
Example:
SdaiADB adbId;
SdaiErrorCode errCode;
...
adbId = sdaiCreateADB(sdaiSTRING, "mystring");
. . .
sdaiDeleteADB(adbId);
errCode = sdaiErrorQuery();
if (errCode) {
/* Error in operation */
printf("\nError: %s in sdaiDeleteADB \n",
edmiGetErrorText(errCode));
goto error;
}
. . .