SessionBaseTryDatabase Method |
Gets the current database to try
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public Database TryDatabase(
Placement place
)
Public Function TryDatabase (
place As Placement
) As Database
public:
Database^ TryDatabase(
Placement^ place
)
member TryDatabase :
place : Placement -> Database
Parameters
- place
- Type: VelocityDbPlacement
the placement object to retrieve from
Return Value
Type:
DatabaseA database or null if not cached
See Also