2007-01-08 Nagappan A <anagappan@novell.com>
[mono.git] / mcs / class / System.Data / Microsoft.SqlServer.Server / TriggerAction.cs
1 //
2 // Microsoft.SqlServer.Server.TriggerAction
3 //
4 // Authors:
5 //   Tim Coleman (tim@timcoleman.com)
6 //   Umadevi S (sumadevi@novell.com)
7 //
8 // Copyright (C) Tim Coleman, 2003
9 //
10 //
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 // 
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 // 
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 //
32    
33 #if NET_2_0
34
35 namespace Microsoft.SqlServer.Server {
36         public enum TriggerAction
37         {
38                 AlterAppRole = 138,
39                 AlterAssembly = 102,
40                 AlterBinding = 175,
41                 AlterFunction = 62,
42                 AlterIndex = 25,
43                 AlterLogin = 145,
44                 AlterPartitionFunction = 192,
45                 AlterPartitionScheme = 195,
46                 AlterProcedure = 52,
47                 AlterQueue = 158,
48                 AlterRole = 135,
49                 AlterRoute = 165,
50                 AlterSchema = 142,
51                 AlterService = 162,
52                 AlterTable = 22,
53                 AlterTrigger = 72,
54                 AlterUser = 132,
55                 AlterView = 42,
56                 CreateAppRole = 137,
57                 CreateAssembly = 101,
58                 CreateBinding = 174,
59                 CreateContract = 154,
60                 CreateEventNotification = 74,
61                 CreateFunction = 61,
62                 CreateIndex = 24,
63                 CreateLogin = 144,
64                 CreateMsgType = 151,
65                 CreatePartitionFunction = 191,
66                 CreatePartitionScheme = 194,
67                 CreateProcedure = 51,
68                 CreateQueue = 157,
69                 CreateRole = 134,
70                 CreateRoute = 164,
71                 CreateSchema = 141,
72                 CreateSecexpr = 31,
73                 CreateService = 161,
74                 CreateSynonym = 34,
75                 CreateTable = 21,
76                 CreateTrigger = 71,
77                 CreateType = 91,
78                 CreateUser = 131,
79                 CreateView = 41,
80                 Delete = 3,
81                 DenyObject = 171,
82                 DropAppRole = 139,
83                 DropAssembly = 103,
84                 DropBinding = 176,
85                 DropContract = 156,
86                 DropEventNotification = 76,
87                 DropFunction = 63,
88                 DropIndex = 26,
89                 DropLogin = 146,
90                 DropMsgType = 153,
91                 DropPartitionFunction = 193,
92                 DropPartitionScheme = 196,
93                 DropProcedure = 53,
94                 DropQueue = 159,
95                 DropRole = 136,
96                 DropRoute = 166,
97                 DropSchema = 143,
98                 DropSecexpr = 33,
99                 DropService = 163,
100                 DropSynonym = 36,
101                 DropTable = 23,
102                 DropTrigger = 73,
103                 DropType = 93,
104                 DropUser = 133,
105                 DropView = 43,
106                 GrantObject = 170,
107                 GrantStatement = 167,
108                 Insert = 1,
109                 Invalid = 0,
110                 RevokeObject = 172,
111                 RevokeStatement = 169,
112                 Update = 2
113         }
114 }
115
116 #endif