VNotificationCenter Class: Construction Methods
Constructor( inConnection as VConnection )
- inConnection - A VConnection object.
Constructs instance of Notification Center using the specified connection. Please note that you should enable notifications for this connection before open it, using method VConnection.UseNotifications
dim connection1 as VConnection // here we will keep connection to VServer. connection1 = new Connection( "localhost", "sa", "sa" ) connection1.UseNotifications() connection1.Open() dim nc as VNotificationCenter( connection1 ) ... end sub