Default language.

Important This documentation space contains information about the on-premises version of BMC Helix Discovery. If you are using the SaaS version of BMC Helix Discovery, see BMC Helix Discovery (SaaS).

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");

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*