aboutsummaryrefslogtreecommitdiff
path: root/src/ca/sca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ca/sca.h')
-rw-r--r--src/ca/sca.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ca/sca.h b/src/ca/sca.h
new file mode 100644
index 00000000..bc36344e
--- /dev/null
+++ b/src/ca/sca.h
@@ -0,0 +1,33 @@
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.
5enum SCA_ACTION
6{
7 SCA_ACTION_NONE,
8 SCA_ACTION_INSTALL,
9 SCA_ACTION_UNINSTALL
10};
11
12// sql database attributes definitions
13enum 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
26enum 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};