Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Returns the OraSubscriptions
collection of the specified database. Not available at design time and read-only at run time.
Set orasubscriptions_collection = oradatabase.Subscriptions
OLE Object (OraSubscriptions
)
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 Null
OraSubscription
object.
In addition to accessing the subscriptions of the collection, you can also use the collection to create and destroy subscriptions using the Add
and Remove
methods, respectively.
See "Example: Registering an Application for Notification of Database Events" for a complete example.