getNotesCountForObject
getNotesCountForObject(target: Object;
eventType: Integer): Integer;
The getNotesCountForObject method of the System class returns the number of notification subscriptions for the object specified in the target parameter.
The parameters of the getNotesCountForObject method are listed in the following table.
| Parameter | Specifies… |
|---|---|
| target | The object for which notifications are subscribed. |
| eventType | The event for which the notification count is requested. The event can refer to any event; for example, SystemEvents category global constant or user‑defined events. |
For:
-
Persistent objects, this method returns the number of notifications for all processes in the system.
-
Transient objects, this method returns the number of notifications for the current process.
-
Shared transient objects, this method returns the number of notifications for all processes on the current node.
2025.0.01 and higher
