Unsubscribes all event handler functions from a single named event of the current JSDO, JSDOSession or Session object, or unsubscribes all event handler functions from all events of the current JSDO, JSDOSession, or Session object.
A String that if specified, is the name of an event on the current object from which to unsubscribe all event handlers. If not specified, the method unsubscribes all event handlers from all events of the current object. See the reference entry for the progress.data.JSDO class, progress.data.JSDOSession class or the progress.data.Session class for a list of available events.
For a JSDOSession or Session object, the unsubscribeAll( ) method throws an error object if event-name does not identify an event supported by the progress.data.JSDOSession or progress.data.Session class (the lookup is case insensitive), or if event-name is not a String. For a JSDO, the method ignores these conditions.