SQLiteOpenHelper.SetWriteAheadLoggingEnabled(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables or disables the use of write-ahead logging for the database.
[Android.Runtime.Register("setWriteAheadLoggingEnabled", "(Z)V", "GetSetWriteAheadLoggingEnabled_ZHandler")]
public virtual void SetWriteAheadLoggingEnabled (bool enabled);
[<Android.Runtime.Register("setWriteAheadLoggingEnabled", "(Z)V", "GetSetWriteAheadLoggingEnabled_ZHandler")>]
abstract member SetWriteAheadLoggingEnabled : bool -> unit
override this.SetWriteAheadLoggingEnabled : bool -> unit
Parameters
- enabled
- Boolean
True if write-ahead logging should be enabled, false if it should be disabled.
- Attributes
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.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.