model.suppressRemovalGroup

model.suppressRemovalGroup([name])

Suppress removal of the named removal group. If a group name is not specified the default name group is used. Removal groups aid removal of complex structures such as those created by deep discovery of databases (see model.setRemovalGroup for more information). In certain circumstances you might want to prevent removal of the removal group.

For example, the following code sets a removal group.

for row in dbs do
  db := model.DatabaseDetail(key := row.key, name := row.name);
  model.setRemovalGroup(db, "dbs");
end for;

If the pattern fails to recover details from the database, all the database details would be removed. This can be prevented using the following code in the case for example, where the credentials are locked out:

  model.suppressRemovalGroup("dbs");
Was this page helpful? Yes No Submitting... Thank you

Comments