DatabaseLocationContainsDatabase Method |
Check if this location contains a particular
Database
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public bool ContainsDatabase(
uint dbNum,
string extension = ".odb"
)
Public Function ContainsDatabase (
dbNum As UInteger,
Optional extension As String = ".odb"
) As Boolean
public:
bool ContainsDatabase(
unsigned int dbNum,
String^ extension = L".odb"
)
member ContainsDatabase :
dbNum : uint32 *
?extension : string
(* Defaults:
let _extension = defaultArg extension ".odb"
*)
-> bool
Parameters
- dbNum
- Type: SystemUInt32
The database number to look for - extension (Optional)
- Type: SystemString
File name extension/id
Return Value
Type:
Booleantrue if the location contains this database; otherwise,
false.
See Also