VistaDB 5
Members  Example 






VistaDB.DDA Namespace : IVistaDBTableNameCollection Interface
IVistaDBTableNameCollection Interface
List of Tables in the current connection as a strongly typed list. This is faster for use in Foreach loops than the ArrayList version.
Syntax
'Declaration
 
Public Interface IVistaDBTableNameCollection 
'Usage
 
Dim instance As IVistaDBTableNameCollection
public interface IVistaDBTableNameCollection 
public interface IVistaDBTableNameCollection 
public interface IVistaDBTableNameCollection 
public __gc __interface IVistaDBTableNameCollection 
public interface class IVistaDBTableNameCollection 
Example
IVistaDBDatabase db = DDAUtils.BuildTestDatabase(ref DDAObj, dbname, false, null, false); 
IVistaDBTableCollection tableList = db.GetTables();
foreach (string table in tableList)
{
   Console.WriteLine("Table is named: " + table);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also