Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > deleteDynamicProperty

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 runtime dynamic property that is a blob, slob, or slobutf8; that is, a runtime dynamic property with a size or length greater than 540.

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.