Knight Data Access Layer
DatabaseExists Method (BaseDatabaseProvider)




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

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

BaseDatabaseProvider Class
BaseDatabaseProvider Members