DBVALUEKINDENUM enumeration (cmdtree.h)

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

The DBVALUEKINDENUM enumerated type is used to indicate the type of the union member inside a DBCOMMANDTREE structure. For programming convenience, the values in this enumeration correspond exactly to the OLE Automation VARENUM and OLE DB DBTYPE enumerations. The comments associated with each enumeration value represent the type and branch of the union type inside the command structure containing the value. nodes that do not assign a value to the union member should assign a DBVALUEKIND_EMPTY to the wKind member of the DBCOMMANDTREE structure.

Syntax

typedef enum DBVALUEKINDENUM {
  DBVALUEKIND_BYGUID = 256,
  DBVALUEKIND_COLDESC,
  DBVALUEKIND_ID,
  DBVALUEKIND_CONTENT,
  DBVALUEKIND_CONTENTVECTOR,
  DBVALUEKIND_GROUPINFO,
  DBVALUEKIND_PARAMETER,
  DBVALUEKIND_PROPERTY,
  DBVALUEKIND_SETFUNC,
  DBVALUEKIND_SORTINFO,
  DBVALUEKIND_TEXT,
  DBVALUEKIND_COMMAND,
  DBVALUEKIND_MONIKER,
  DBVALUEKIND_ROWSET,
  DBVALUEKIND_LIKE,
  DBVALUEKIND_CONTENTPROXIMITY,
  DBVALUEKIND_CONTENTSCOPE,
  DBVALUEKIND_CONTENTTABLE,
  DBVALUEKIND_IDISPATCH = 9,
  DBVALUEKIND_IUNKNOWN = 13,
  DBVALUEKIND_EMPTY = 0,
  DBVALUEKIND_NULL = 1,
  DBVALUEKIND_I2 = 2,
  DBVALUEKIND_I4 = 3,
  DBVALUEKIND_R4 = 4,
  DBVALUEKIND_R8 = 5,
  DBVALUEKIND_CY = 6,
  DBVALUEKIND_DATE = 7,
  DBVALUEKIND_BSTR = 8,
  DBVALUEKIND_ERROR = 10,
  DBVALUEKIND_BOOL = 11,
  DBVALUEKIND_VARIANT = 12,
  DBVALUEKIND_VECTOR = 0x1000,
  DBVALUEKIND_ARRAY = 0x2000,
  DBVALUEKIND_BYREF = 0x4000,
  DBVALUEKIND_I1 = 16,
  DBVALUEKIND_UI1 = 17,
  DBVALUEKIND_UI2 = 18,
  DBVALUEKIND_UI4,
  DBVALUEKIND_I8,
  DBVALUEKIND_UI8,
  DBVALUEKIND_GUID = 72,
  DBVALUEKIND_BYTES = 128,
  DBVALUEKIND_STR = 129,
  DBVALUEKIND_WSTR = 130,
  DBVALUEKIND_NUMERIC = 131,
  DBVALUEKIND_DBDATE = 133,
  DBVALUEKIND_DBTIME = 134,
  DBVALUEKIND_DBTIMESTAMP = 135,
  DBVALUEKIND_PROBABILISTIC = 136,
  DBVALUEKIND_RELEVANTDOCUMENT = 137
} ;

Constants

 
DBVALUEKIND_BYGUID
Value: 256
DBVALUEKIND_COLDESC
DBVALUEKIND_ID
DBVALUEKIND_CONTENT
DBVALUEKIND_CONTENTVECTOR
DBVALUEKIND_GROUPINFO
DBVALUEKIND_PARAMETER
DBVALUEKIND_PROPERTY
DBVALUEKIND_SETFUNC
DBVALUEKIND_SORTINFO
DBVALUEKIND_TEXT
DBVALUEKIND_COMMAND
DBVALUEKIND_MONIKER
DBVALUEKIND_ROWSET
DBVALUEKIND_LIKE
DBVALUEKIND_CONTENTPROXIMITY
DBVALUEKIND_CONTENTSCOPE
DBVALUEKIND_CONTENTTABLE
DBVALUEKIND_IDISPATCH
Value: 9
DBVALUEKIND_IUNKNOWN
Value: 13
DBVALUEKIND_EMPTY
Value: 0
DBVALUEKIND_NULL
Value: 1
DBVALUEKIND_I2
Value: 2
DBVALUEKIND_I4
Value: 3
DBVALUEKIND_R4
Value: 4
DBVALUEKIND_R8
Value: 5
DBVALUEKIND_CY
Value: 6
DBVALUEKIND_DATE
Value: 7
DBVALUEKIND_BSTR
Value: 8
DBVALUEKIND_ERROR
Value: 10
DBVALUEKIND_BOOL
Value: 11
DBVALUEKIND_VARIANT
Value: 12
DBVALUEKIND_VECTOR
Value: 0x1000
DBVALUEKIND_ARRAY
Value: 0x2000
DBVALUEKIND_BYREF
Value: 0x4000
DBVALUEKIND_I1
Value: 16
DBVALUEKIND_UI1
Value: 17
DBVALUEKIND_UI2
Value: 18
DBVALUEKIND_UI4
DBVALUEKIND_I8
DBVALUEKIND_UI8
DBVALUEKIND_GUID
Value: 72
DBVALUEKIND_BYTES
Value: 128
DBVALUEKIND_STR
Value: 129
DBVALUEKIND_WSTR
Value: 130
DBVALUEKIND_NUMERIC
Value: 131
DBVALUEKIND_DBDATE
Value: 133
DBVALUEKIND_DBTIME
Value: 134
DBVALUEKIND_DBTIMESTAMP
Value: 135
DBVALUEKIND_PROBABILISTIC
Value: 136
DBVALUEKIND_RELEVANTDOCUMENT
Value: 137

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header cmdtree.h