deleteDynamicProperty

deleteDynamicProperty(propertyName: String);

The deleteDynamicProperty method of the Class class deletes the runtime dynamic property with the name specified in the propertyName parameter from a cluster in the receiving class.

If instances of the class exist, you cannot delete a dynamic property. A non‑embedded blob, slob, or slobutf8 dynamic property has a size or length greater than 540.

The maximum length of an embedded Binary type is 540 characters, an embedded StringUtf8 type is 540 characters, and an embedded String type is 539 characters.

You can delete a runtime dynamic property only if the class in which it is defined is not being used by any other process. If production mode is set, a runtime dynamic property can be deleted in single‑user mode only.

An exception is raised if the runtime dynamic property is not defined in the class.