Knight Data Access Layer
DatabaseExists Method (PostgreSqlProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > PostgreSqlProvider Class : DatabaseExists Method
The name of the database
Check database existence
Syntax
Public Overrides Function DatabaseExists( _
   ByVal databaseName As String _
) As Boolean
Dim instance As PostgreSqlProvider
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

PostgreSqlProvider Class
PostgreSqlProvider Members