Click or drag to resize

DatabaseLocationContainsDatabase Method

Check if this location contains a particular Database

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 8.2.1.0 (8.2.1)
Syntax
public bool ContainsDatabase(
	uint dbNum,
	string extension = ".odb"
)

Parameters

dbNum
Type: SystemUInt32
The database number to look for
extension (Optional)
Type: SystemString
File name extension/id

Return Value

Type: Boolean
true if the location contains this database; otherwise, false.
See Also