Share via


SqliteConnection.Open Method

Definition

Opens a connection to the database using the value of ConnectionString. If Mode=ReadWriteCreate is used (the default) the file is created, if it doesn't already exist.

public override void Open ();
override this.Open : unit -> unit
Public Overrides Sub Open ()

Exceptions

A SQLite error occurs while opening the connection.

Applies to