Knight Data Access Layer
DatabaseExists() Method




KellermanSoftware.NetDataAccessLayer Namespace > DataHelper Class > DatabaseExists Method : DatabaseExists() Method
Returns true if the database exists for the provider. The database name is parsed out of the current connection string.
Syntax
Public Overloads Function DatabaseExists() As Boolean
Dim instance As DataHelper
Dim value As Boolean
 
value = instance.DatabaseExists()
public bool DatabaseExists()
public: bool DatabaseExists(); 
public:
bool DatabaseExists(); 
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

DataHelper Class
DataHelper Members
Overload List