Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method

Delete

ModuleStorage
LibraryCore
Action


Excerpt
Removes an existing user defined persistent storage table.


Parameters

Name (string): The name of the persistent storage table. Case is not significant.

Return values

Name (string): The table's name if the storage table is deleted from persistent storage, else nothing.

Example


Code Block
@storageName = SELECT "LoggedInAudit" AS Name;

@result = Storage.Delete(Name:@storageName);
IF (@result)
    SELECT @storageName.Name ||" Table deleted" AS Status FROM @storageName;
ELSE
    SELECT @storageName.Name ||" Table not found" AS Status FROM @storageName;
ENDIF;


Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

This method can be used with the agent language's  evaluate  statement SCALE evaluate statement to abandon processing if the persistent storage table is not present.

See User Defined Persistent Storage page for guidance using persistent storage tables.

The following methods existing in the Agent Storage module:

Content by Label
showLabelsfalse
max200
showSpacefalse
sorttitle
excerptTyperich content
cqllabel = "storagemodule"

...