CConstraintTableUsage, CConstraintTableUsageInfo
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CConstraintTableUsage, CConstraintTableUsageInfo.
Call the typedef class CConstraintTableUsage to implement its parameter class CConstraintTableUsageInfo.
Remarks
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 |
Requirements
Header: atldbsch.h