Knight Data Access Layer
DatabaseExists Method (MySqlProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MySqlProvider Class : DatabaseExists Method
The name of the database
Check database existance
Syntax
Public Overrides Function DatabaseExists( _
   ByVal databaseName As String _
) As Boolean
Dim instance As MySqlProvider
Dim databaseName As String
Dim value As Boolean
 
value = instance.DatabaseExists(databaseName)
public override bool DatabaseExists( 
   string databaseName
)
public: bool DatabaseExists( 
   string* databaseName
) override 
public:
bool DatabaseExists( 
   String^ databaseName
) override 

Parameters

databaseName
The name of 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

MySqlProvider Class
MySqlProvider Members