Knight Data Access Layer
TableExists(String,String) Method




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MySqlProvider Class > TableExists Method : TableExists(String,String) Method
Name of the table
Name of the Database
This method will check if a Table exist in a Database provided
Syntax
Public Overloads Function TableExists( _
   ByVal tableName As String, _
   ByVal databaseName As String _
) As Boolean
Dim instance As MySqlProvider
Dim tableName As String
Dim databaseName As String
Dim value As Boolean
 
value = instance.TableExists(tableName, databaseName)
public bool TableExists( 
   string tableName,
   string databaseName
)
public: bool TableExists( 
   string* tableName,
   string* databaseName
) 
public:
bool TableExists( 
   String^ tableName,
   String^ databaseName
) 

Parameters

tableName
Name of the table
databaseName
Name of the Database

Return Value

True if the table exists in the Database else returns False
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

MySqlProvider Class
MySqlProvider Members
Overload List