Dynamicweb 8 Documentation
GetTables(OleDbConnection) Method

A database connection.
Gets the tables in the connected database.
Syntax
'Declaration
 
Public Overloads Function GetTables( _ 
   ByVal connection As OleDbConnection _ 
) As DataTable
public DataTable GetTables( 
   OleDbConnection connection 
)

Parameters

connection
A database connection.

Return Value

A DataTable with the schema table of the connection. Contains table names.
Remarks
Closes and disposes the connection.
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

Reference

DatabaseSchema Class
DatabaseSchema Members
Overload List

Send Feedback