Edit

DBID structure (oledbguid.h)

[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.

Syntax

typedef struct tagDBID {
  union {
    GUID guid;
    GUID *pguid;
  } uGuid;
  DBKIND eKind;
  union {
    wchar_t       *pwszName;
    unsigned long ulPropid;
  } uName;
} DBID;

Members

uGuid

uGuid.guid

uGuid.pguid

eKind

uName

uName.pwszName

uName.ulPropid

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.

Requirements

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