CConstraintTableUsage, CConstraintTableUsageInfo

Remarks

Call the typedef class CConstraintTableUsage to implement its parameter class CConstraintTableUsageInfo. See Schema Rowset Classes and Typedef Classes for more information on using typedef classes.

This class identifies the tables 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_TABLE_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_szConstraintCatalog CONSTRAINT_CATALOG
m_szConstraintSchema CONSTRAINT_SCHEMA
m_szConstraintName CONSTRAINT_NAME

#include <atldbsch.h>

See Also

CRestrictions