blob: 18a78f778730bd8daf6c2c05d8917cd2147df534 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolset.Core.Native.Msi
{
/// <summary>
/// Enum of predefined persist modes used when opening a database.
/// </summary>
public enum OpenDatabase
{
/// <summary>
/// Open a database read-only, no persistent changes.
/// </summary>
ReadOnly = 0,
/// <summary>
/// Open a database read/write in transaction mode.
/// </summary>
Transact = 1,
/// <summary>
/// Open a database direct read/write without transaction.
/// </summary>
Direct = 2,
/// <summary>
/// Create a new database, transact mode read/write.
/// </summary>
Create = 3,
/// <summary>
/// Create a new database, direct mode read/write.
/// </summary>
CreateDirect = 4,
/// <summary>
/// Indicates a patch file is being opened.
/// </summary>
OpenPatchFile = 32
}
}
|