|Oracle® Objects for OLE Developer's Guide
11g Release 2 (11.2) for Microsoft Windows
Part Number E17727-03
|PDF · Mobi · ePub|
OraSubscriptions collection of the specified database. Not available at design time and read-only at run time.
Set orasubscriptions_collection = oradatabase.Subscriptions
OLE Object (
You can access the subscriptions in this collection by subscripting (using ordinal integer numbers). You can obtain the number of subscriptions in the collection using the
Count property of the returned collection. Integer subscripts begin with 0 and end with
Count-1. Out-of-range indexes return a
In addition to accessing the subscriptions of the collection, you can also use the collection to create and destroy subscriptions using the
Remove methods, respectively.
See "Example: Registering an Application for Notification of Database Events" for a complete example.