NET Caching Library Help
DatabaseExists Method (SqlServerDatabaseProvider)




KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace > SqlServerDatabaseProvider Class : DatabaseExists Method
The name of the database
Check database existance
Syntax
'Declaration
 
Public Overrides Function DatabaseExists( _
   ByVal databaseName As System.String _
) As System.Boolean
'Usage
 
Dim instance As SqlServerDatabaseProvider
Dim databaseName As System.String
Dim value As System.Boolean
 
value = instance.DatabaseExists(databaseName)
public override System.bool DatabaseExists( 
   System.string databaseName
)
public: System.bool DatabaseExists( 
   System.string* databaseName
) override 
public:
System.bool DatabaseExists( 
   System.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

SqlServerDatabaseProvider Class
SqlServerDatabaseProvider Members