CConstraintColumnUsage, CConstraintColumnUsageInfo

Call the typedef class CConstraintColumnUsage to implement its parameter class CConstraintColumnUsageInfo.

Remarks

See Schema Rowset Classes and Typedef Classes for more information on using typedef classes.

This class identifies the columns used by referential constraints, unique constraints, check constraints, and assertions, defined in the catalog and owned by a given user.

The following table lists the class data members and their corresponding OLE DB Columns. See CONSTRAINT_COLUMN_USAGE Rowset in the OLE DB Programmer's Reference for more information about the schema and columns.

Data members

OLE DB columns

m_szTableCatalog

TABLE_CATALOG

m_szTableSchema

TABLE_SCHEMA

m_szTableName

TABLE_NAME

m_szColumnName

COLUMN_NAME

m_guidColumn

COLUMN_GUID

m_nColumnPropID

COLUMN_PROPID

m_szConstraintCatalog

CONSTRAINT_CATALOG

m_szConstraintSchema

CONSTRAINT_SCHEMA

m_szConstraintName

CONSTRAINT_NAME

Requirements

Header: atldbsch.h

See Also

Reference

CRestrictions Class