dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteConnection Class / ChangePassword Method
New password in UTF-8 encoding.

In This Topic
    ChangePassword Method
    In This Topic
    Changes password for opened SEE or SQLiteCrypt encrypted SQLite databases. Accepts new password only in UTF-8 encoding.
    Syntax
    'Declaration
     
    Public Sub ChangePassword( _
       ByVal newPassword As String _
    ) 
    public void ChangePassword( 
       string newPassword
    )

    Parameters

    newPassword
    New password in UTF-8 encoding.
    Remarks

    If the database is not encrypted, this method throws System.NotSupportedException.

    If the connection is not opened, this method throws System.InvalidOperationException.

    See Also