Click or drag to resize
SQLite3Open Method (String, ConnectionFlags, String)
Opens a SQLite database.

Namespace: SQLitePCL.pretty
Assembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public static SQLiteDatabaseConnection Open(
	string filename,
	ConnectionFlags flags,
	string vfs
)

Parameters

filename
Type: SystemString
The database filename.
flags
Type: SQLitePCL.prettyConnectionFlags
ConnectionFlags used to defined if the database is readonly, read/write and whether a new database file should be created if it does not already exist.
vfs
Type: SystemString
The name of the sqlite3_vfs object that defines the operating system interface that the new database connection should use. If , then the default sqlite3_vfs object is used.

Return Value

Type: SQLiteDatabaseConnection
A SQLiteDatabaseConnection instance.
See Also