dwscripts.deleteSB()
Availability
Adobe Dreamweaver MX (this function replaces the deleteSB() function from earlier versions of Adobe Dreamweaver).
Description
Deletes all the participants of the sbObj server behavior instance. The entire participant is deleted, unless the EDML file indicates special delete instructions with the delete tag. It does not delete participants that belong to more than one server behavior instance (reference count > 1).
Arguments
sbObj
- The
sbObjargument is the server behavior object instance that you want to remove from the user's document.
Returns
Adobe Dreamweaver expects nothing.
Example
The following example deletes all the participants of the sbObj server behavior, except the participants that are protected by the EDML file's delete tag.
function deleteServerBehavior(sbObj) { dwscripts.deleteSB(sbObj);}