Click or drag to resize

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"
)

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