/// <summary> Sqlite 3 backup finish. </summary> /// <exception cref="ArgumentNullException"> Thrown when one or more required arguments are null. </exception> /// <param name="backup"> The backup. </param> /// <returns> A SqliteResultCode. </returns> internal SqliteResultCode sqlite3_backup_finish(SqliteBackupHandle backup) { if (backup == null) { throw new ArgumentNullException(nameof(backup)); } backup.CheckMaintenanceMode(); return((SqliteResultCode)DbProviderOperations.sqlite3_backup_finish(backup.Backup)); }