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.
The adbID is defined by the sdaiCreateADB or sdaiCreateEmptyADB function.

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; 
}
. . .