VistaDB 5






DbDatabaseExists Method
Syntax
'Declaration
 
Protected Function DbDatabaseExists( _
   ByVal connection As System.Data.Common.DbConnection, _
   ByVal commandTimeout As System.Nullable(Of Integer), _
   ByVal storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection _
) As System.Boolean
'Usage
 
Dim instance As VistaDBProviderServices
Dim connection As System.Data.Common.DbConnection
Dim commandTimeout As System.Nullable(Of Integer)
Dim storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
Dim value As System.Boolean
 
value = instance.DbDatabaseExists(connection, commandTimeout, storeItemCollection)
protected System.bool DbDatabaseExists( 
   System.Data.Common.DbConnection connection,
   System.Nullable<int> commandTimeout,
   System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeItemCollection
)
protected function DbDatabaseExists( 
    connection: System.Data.Common.DbConnection;
    commandTimeout: System.Nullable;
    storeItemCollection: System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
): System.Boolean; 
protected function DbDatabaseExists( 
   connection : System.Data.Common.DbConnection,
   commandTimeout : System.Nullable,
   storeItemCollection : System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
) : System.boolean;
protected: System.bool DbDatabaseExists( 
   System.Data.Common.DbConnection* connection,
   System.Nullable<int> commandTimeout,
   System.Data.Entity.Core.Metadata.Edm.StoreItemCollection* storeItemCollection
) 
protected:
System.bool DbDatabaseExists( 
   System.Data.Common.DbConnection^ connection,
   System.Nullable<int> commandTimeout,
   System.Data.Entity.Core.Metadata.Edm.StoreItemCollection^ storeItemCollection
) 

Parameters

connection
commandTimeout
storeItemCollection
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