Switch to: V12V11V10V9V8V7V6V5

VServer Class: DatabaseInfo Methods

VServer.DatabaseInfo()

Declaration:

DatabaseInfo( inIndex as Integer) as VDatabaseInfo  

Parameters:

  • inIndex - the index of a databse. Range from 1 to VServer.DatabaseCount.

Description:

This method allows you to iterate through the collection of DatabaseInfo objects.

The Vserver instance obtains a list of the DatabaseInfo upon OpenSession(). You can periodically refresh this list using the Refresh() method.

Example:

dim dbi as VDatabaseInfo 
 
for i = 1 to server.DatabaseCount 
    dbi = server.DatabaseInfo( i ) 
next