Dynamicweb 8 Documentation
TableExists Method

Name of the table.
The database.
Helper method to determine whether a table with the given name exists in the given database.
Syntax
'Declaration
 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> 
Public Shared Function TableExists( _ 
   ByVal tableName As String, _ 
   ByVal database As String _ 
) As Boolean
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 
public static bool TableExists( 
   string tableName,
   string database 
)

Parameters

tableName
Name of the table.
database
The database.
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

Database Class
Database Members

Send Feedback