dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteConnectionStringBuilder Class / ReadOnlyDatabase Property

In This Topic
    ReadOnlyDatabase Property
    In This Topic
    Determines whether to open a database in a read-only mode. An exception is thrown if a database does not exist. Available only if the connection uses the UTF8 encoding - if UTF16 is set to false.
    Syntax
    'Declaration
     
    Public Property ReadOnlyDatabase As Boolean
    public bool ReadOnlyDatabase {get; set;}

    Property Value

    If true, the database is opened in rad-only mode, and you cannot modify it; otherwise, false. Default value is false.
    See Also