Call the ComponentInstanceManager.deleteComponentInstance() method to delete a specified component instance (a Record Store).

The syntax of the method is:

ComponentInstanceManager.deleteComponentInstance(ComponentInstanceId componentInstanceId)

The componentInstanceId parameter is a ComponentInstanceId that is the Record Store instance name that you want to delete.

To delete a component:

If the ComponentInstanceManager.deleteComponentInstance() method fails, it will throw an exception:

To catch these exceptions, use a try block when you call the method.


Copyright © Legal Notices