Android.Database.Sqlite.SQLiteOpenHelper.SetWriteAheadLoggingEnabled Method
Enables or disables the use of write-ahead logging for the database.

Syntax

[Android.Runtime.Register("setWriteAheadLoggingEnabled", "(Z)V", "GetSetWriteAheadLoggingEnabled_ZHandler")]
public virtual void SetWriteAheadLoggingEnabled (bool enabled)

See Also

SQLiteDatabase.EnableWriteAheadLogging

Parameters

enabled
True if write-ahead logging should be enabled, false if it should be disabled.

Remarks

Enables or disables the use of write-ahead logging for the database. Write-ahead logging cannot be used with read-only databases so the value of this flag is ignored if the database is opened read-only.

[Android Documentation]

Requirements

Namespace: Android.Database.Sqlite
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16