JSDO properties, methods, and events reference : unsubscribeAll( ) method
  

unsubscribeAll( ) method

Unsubscribes all event callback functions from a single named event of the current JSDO, JSDOSession or Session object, or unsubscribes all event callback functions from all events of the current JSDO, JSDOSession, or Session object.
Return type: null
Applies to: progress.data.JSDO class, progress.data.JSDOSession class, progress.data.Session class

Syntax

unsubscribeAll ( [ event-name ] )
event-name
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 instance, the method ignores these conditions.

See also:

unsubscribe( ) method (JSDO class), unsubscribe( ) method (JSDOSession class), unsubscribe( ) method (Session class)