SessionBaseContainsDatabase Method |
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public virtual bool ContainsDatabase(
DatabaseLocation location,
uint dbNum,
string extension = ".odb"
)
Public Overridable Function ContainsDatabase (
location As DatabaseLocation,
dbNum As UInteger,
Optional extension As String = ".odb"
) As Boolean
public:
virtual bool ContainsDatabase(
DatabaseLocation^ location,
unsigned int dbNum,
String^ extension = L".odb"
)
abstract ContainsDatabase :
location : DatabaseLocation *
dbNum : uint32 *
?extension : string
(* Defaults:
let _extension = defaultArg extension ".odb"
*)
-> bool
override ContainsDatabase :
location : DatabaseLocation *
dbNum : uint32 *
?extension : string
(* Defaults:
let _extension = defaultArg extension ".odb"
*)
-> bool
Parameters
- location
- Type: VelocityDbDatabaseLocation
Location to check - dbNum
- Type: SystemUInt32
Database number/id - extension (Optional)
- Type: SystemString
File name extension/id
Return Value
Type:
Booleantrue if exist; otherwise false
See Also