VistaDB 5






DatabaseExists Method
Syntax
'Declaration
 
Public Function DatabaseExists( _
   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.DatabaseExists(connection, commandTimeout, storeItemCollection)
public System.bool DatabaseExists( 
   System.Data.Common.DbConnection connection,
   System.Nullable<int> commandTimeout,
   System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeItemCollection
)
public function DatabaseExists( 
    connection: System.Data.Common.DbConnection;
    commandTimeout: System.Nullable;
    storeItemCollection: System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
): System.Boolean; 
public function DatabaseExists( 
   connection : System.Data.Common.DbConnection,
   commandTimeout : System.Nullable,
   storeItemCollection : System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
) : System.boolean;
public: System.bool DatabaseExists( 
   System.Data.Common.DbConnection* connection,
   System.Nullable<int> commandTimeout,
   System.Data.Entity.Core.Metadata.Edm.StoreItemCollection* storeItemCollection
) 
public:
System.bool DatabaseExists( 
   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