Share via


DBID

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 DBID structure encapsulates various ways of identifying a database object. It is used by nodes that must represent a column name, such as column_name, index_name, table_name, schema_name, catalog_name, and so forth. (For more information on these nodes, see Catalog of DML Nodes.) This structure is also used to define bindings.

typedef struct tagDBID {
  union {
    GUID   guid;
    GUID * pguid;
  } uGuid;
  DBKIND eKind;
  union {
    LPWSTR pwszName;
    ULONG  ulPropid;
  } uName;
} DBID;

Remarks

The DBID structure identifies the requested columns for a query. Each unique column is represented by a unique combination of GUID and number or GUID and name.