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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also