main
h 33 lines 1012 Bytes
Raw
1 #pragma once
2 // 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.
3
4 // Generic action enum.
5 enum SCA_ACTION
6 {
7 SCA_ACTION_NONE,
8 SCA_ACTION_INSTALL,
9 SCA_ACTION_UNINSTALL
10 };
11
12 // sql database attributes definitions
13 enum SCADB_ATTRIBUTES
14 {
15 SCADB_CREATE_ON_INSTALL = 0x00000001,
16 SCADB_DROP_ON_UNINSTALL = 0x00000002,
17 SCADB_CONTINUE_ON_ERROR = 0x00000004,
18 SCADB_DROP_ON_INSTALL = 0x00000008,
19 SCADB_CREATE_ON_UNINSTALL = 0x00000010,
20 SCADB_CONFIRM_OVERWRITE = 0x00000020,
21 SCADB_CREATE_ON_REINSTALL = 0x00000040,
22 SCADB_DROP_ON_REINSTALL = 0x00000080,
23 };
24
25 // sql string/script attributes definitions
26 enum SCASQL_ATTRIBUTES
27 {
28 SCASQL_EXECUTE_ON_INSTALL = 0x00000001,
29 SCASQL_EXECUTE_ON_UNINSTALL = 0x00000002,
30 SCASQL_CONTINUE_ON_ERROR = 0x00000004,
31 SCASQL_ROLLBACK = 0x00000008,
32 SCASQL_EXECUTE_ON_REINSTALL = 0x00000010,
33 };