Unsubscribe method: PSEvent class
Syntax
Unsubscribe(event_name)
Description
Use the Unsubscribe method to unsubscribes from a notification for an event..
Parameters
| Parameter | Description |
|---|---|
|
event_name |
A string representing the name of the event as defined on the Define Server Side Events page. |
Returns
None.
Example
The following example unsubscribes from a notification named PROCESSSTATUSCHANGE.
&eventName = "PROCESSSTATUSCHANGE";
&EventObject.Unsubscribe(&eventName);