Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

266 lines
7.0 KiB

  1. <%
  2. '--------------------------------------------------------------------
  3. ' Microsoft ADO
  4. '
  5. ' (c) 1996 Microsoft Corporation. All Rights Reserved.
  6. '
  7. '
  8. '
  9. ' ADO constants include file for VBScript
  10. '
  11. '--------------------------------------------------------------------
  12. '---- CursorTypeEnum Values ----
  13. Const adOpenForwardOnly = 0
  14. Const adOpenKeyset = 1
  15. Const adOpenDynamic = 2
  16. Const adOpenStatic = 3
  17. '---- CursorOptionEnum Values ----
  18. Const adHoldRecords = &H00000100
  19. Const adMovePrevious = &H00000200
  20. Const adAddNew = &H01000400
  21. Const adDelete = &H01000800
  22. Const adUpdate = &H01008000
  23. Const adBookmark = &H00002000
  24. Const adApproxPosition = &H00004000
  25. Const adUpdateBatch = &H00010000
  26. Const adResync = &H00020000
  27. Const adNotify = &H00040000
  28. '---- LockTypeEnum Values ----
  29. Const adLockReadOnly = 1
  30. Const adLockPessimistic = 2
  31. Const adLockOptimistic = 3
  32. Const adLockBatchOptimistic = 4
  33. '---- ExecuteOptionEnum Values ----
  34. Const adRunAsync = &H00000010
  35. '---- ObjectStateEnum Values ----
  36. Const adStateClosed = &H00000000
  37. Const adStateOpen = &H00000001
  38. Const adStateConnecting = &H00000002
  39. Const adStateExecuting = &H00000004
  40. '---- CursorLocationEnum Values ----
  41. Const adUseNone = 1
  42. Const adUseServer = 2
  43. Const adUseClient = 3
  44. Const adUseClientBatch = 3
  45. '---- DataTypeEnum Values ----
  46. Const adEmpty = 0
  47. Const adTinyInt = 16
  48. Const adSmallInt = 2
  49. Const adInteger = 3
  50. Const adBigInt = 20
  51. Const adUnsignedTinyInt = 17
  52. Const adUnsignedSmallInt = 18
  53. Const adUnsignedInt = 19
  54. Const adUnsignedBigInt = 21
  55. Const adSingle = 4
  56. Const adDouble = 5
  57. Const adCurrency = 6
  58. Const adDecimal = 14
  59. Const adNumeric = 131
  60. Const adBoolean = 11
  61. Const adError = 10
  62. Const adUserDefined = 132
  63. Const adVariant = 12
  64. Const adIDispatch = 9
  65. Const adIUnknown = 13
  66. Const adGUID = 72
  67. Const adDate = 7
  68. Const adDBDate = 133
  69. Const adDBTime = 134
  70. Const adDBTimeStamp = 135
  71. Const adBSTR = 8
  72. Const adChar = 129
  73. Const adVarChar = 200
  74. Const adLongVarChar = 201
  75. Const adWChar = 130
  76. Const adVarWChar = 202
  77. Const adLongVarWChar = 203
  78. Const adBinary = 128
  79. Const adVarBinary = 204
  80. Const adLongVarBinary = 205
  81. '---- FieldAttributeEnum Values ----
  82. Const adFldMayDefer = &H00000002
  83. Const adFldUpdatable = &H00000004
  84. Const adFldUnknownUpdatable = &H00000008
  85. Const adFldFixed = &H00000010
  86. Const adFldIsNullable = &H00000020
  87. Const adFldMayBeNull = &H00000040
  88. Const adFldLong = &H00000080
  89. Const adFldRowID = &H00000100
  90. Const adFldRowVersion = &H00000200
  91. Const adFldCacheDeferred = &H00001000
  92. '---- EditModeEnum Values ----
  93. Const adEditNone = &H0000
  94. Const adEditInProgress = &H0001
  95. Const adEditAdd = &H0002
  96. '---- RecordStatusEnum Values ----
  97. Const adRecOK = &H0000000
  98. Const adRecNew = &H0000001
  99. Const adRecModified = &H0000002
  100. Const adRecDeleted = &H0000004
  101. Const adRecUnmodified = &H0000008
  102. Const adRecInvalid = &H0000010
  103. Const adRecMultipleChanges = &H0000040
  104. Const adRecPendingChanges = &H0000080
  105. Const adRecCanceled = &H0000100
  106. Const adRecCantRelease = &H0000400
  107. Const adRecConcurrencyViolation = &H0000800
  108. Const adRecIntegrityViolation = &H0001000
  109. Const adRecMaxChangesExceeded = &H0002000
  110. Const adRecObjectOpen = &H0004000
  111. Const adRecOutOfMemory = &H0008000
  112. Const adRecPermissionDenied = &H0010000
  113. Const adRecSchemaViolation = &H0020000
  114. Const adRecDBDeleted = &H0040000
  115. '---- GetRowsOptionEnum Values ----
  116. Const adGetRowsRest = -1
  117. '---- PositionEnum Values ----
  118. Const adPosUnknown = -1
  119. Const adPosBOF = -2
  120. Const adPosEOF = -3
  121. '---- enum Values ----
  122. Const adBookmarkCurrent = 0
  123. Const adBookmarkFirst = 1
  124. Const adBookmarkLast = 2
  125. '---- MarshalOptionsEnum Values ----
  126. Const adMarshalAll = 0
  127. Const adMarshalModifiedOnly = 1
  128. '---- AffectEnum Values ----
  129. Const adAffectCurrent = 1
  130. Const adAffectGroup = 2
  131. Const adAffectAll = 3
  132. '---- FilterGroupEnum Values ----
  133. Const adFilterNone = 0
  134. Const adFilterPendingRecords = 1
  135. Const adFilterAffectedRecords = 2
  136. Const adFilterFetchedRecords = 3
  137. Const adFilterPredicate = 4
  138. '---- SearchDirection Values ----
  139. Const adSearchForward = 0
  140. Const adSearchBackward = 1
  141. '---- ConnectPromptEnum Values ----
  142. Const adPromptAlways = 1
  143. Const adPromptComplete = 2
  144. Const adPromptCompleteRequired = 3
  145. Const adPromptNever = 4
  146. '---- ConnectModeEnum Values ----
  147. Const adModeUnknown = 0
  148. Const adModeRead = 1
  149. Const adModeWrite = 2
  150. Const adModeReadWrite = 3
  151. Const adModeShareDenyRead = 4
  152. Const adModeShareDenyWrite = 8
  153. Const adModeShareExclusive = &Hc
  154. Const adModeShareDenyNone = &H10
  155. '---- IsolationLevelEnum Values ----
  156. Const adXactUnspecified = &Hffffffff
  157. Const adXactChaos = &H00000010
  158. Const adXactReadUncommitted = &H00000100
  159. Const adXactBrowse = &H00000100
  160. Const adXactCursorStability = &H00001000
  161. Const adXactReadCommitted = &H00001000
  162. Const adXactRepeatableRead = &H00010000
  163. Const adXactSerializable = &H00100000
  164. Const adXactIsolated = &H00100000
  165. '---- XactAttributeEnum Values ----
  166. Const adXactCommitRetaining = &H00020000
  167. Const adXactAbortRetaining = &H00040000
  168. '---- PropertyAttributesEnum Values ----
  169. Const adPropNotSupported = &H0000
  170. Const adPropRequired = &H0001
  171. Const adPropOptional = &H0002
  172. Const adPropRead = &H0200
  173. Const adPropWrite = &H0400
  174. '---- ErrorValueEnum Values ----
  175. Const adErrInvalidArgument = &Hbb9
  176. Const adErrNoCurrentRecord = &Hbcd
  177. Const adErrIllegalOperation = &Hc93
  178. Const adErrInTransaction = &Hcae
  179. Const adErrFeatureNotAvailable = &Hcb3
  180. Const adErrItemNotFound = &Hcc1
  181. Const adErrObjectInCollection = &Hd27
  182. Const adErrObjectNotSet = &Hd5c
  183. Const adErrDataConversion = &Hd5d
  184. Const adErrObjectClosed = &He78
  185. Const adErrObjectOpen = &He79
  186. Const adErrProviderNotFound = &He7a
  187. Const adErrBoundToCommand = &He7b
  188. Const adErrInvalidParamInfo = &He7c
  189. Const adErrInvalidConnection = &He7d
  190. Const adErrStillExecuting = &He7f
  191. Const adErrStillConnecting = &He81
  192. '---- ParameterAttributesEnum Values ----
  193. Const adParamSigned = &H0010
  194. Const adParamNullable = &H0040
  195. Const adParamLong = &H0080
  196. '---- ParameterDirectionEnum Values ----
  197. Const adParamUnknown = &H0000
  198. Const adParamInput = &H0001
  199. Const adParamOutput = &H0002
  200. Const adParamInputOutput = &H0003
  201. Const adParamReturnValue = &H0004
  202. '---- CommandTypeEnum Values ----
  203. Const adCmdUnknown = &H0008
  204. Const adCmdText = &H0001
  205. Const adCmdTable = &H0002
  206. Const adCmdStoredProc = &H0004
  207. '---- SchemaEnum Values ----
  208. Const adSchemaProviderSpecific = -1
  209. Const adSchemaAsserts = 0
  210. Const adSchemaCatalogs = 1
  211. Const adSchemaCharacterSets = 2
  212. Const adSchemaCollations = 3
  213. Const adSchemaColumns = 4
  214. Const adSchemaCheckConstraints = 5
  215. Const adSchemaConstraintColumnUsage = 6
  216. Const adSchemaConstraintTableUsage = 7
  217. Const adSchemaKeyColumnUsage = 8
  218. Const adSchemaReferentialContraints = 9
  219. Const adSchemaTableConstraints = 10
  220. Const adSchemaColumnsDomainUsage = 11
  221. Const adSchemaIndexes = 12
  222. Const adSchemaColumnPrivileges = 13
  223. Const adSchemaTablePrivileges = 14
  224. Const adSchemaUsagePrivileges = 15
  225. Const adSchemaProcedures = 16
  226. Const adSchemaSchemata = 17
  227. Const adSchemaSQLLanguages = 18
  228. Const adSchemaStatistics = 19
  229. Const adSchemaTables = 20
  230. Const adSchemaTranslations = 21
  231. Const adSchemaProviderTypes = 22
  232. Const adSchemaViews = 23
  233. Const adSchemaViewColumnUsage = 24
  234. Const adSchemaViewTableUsage = 25
  235. Const adSchemaProcedureParameters = 26
  236. Const adSchemaForeignKeys = 27
  237. Const adSchemaPrimaryKeys = 28
  238. Const adSchemaProcedureColumns = 29
  239. %>