다음을 통해 공유


CTableConstraints, CTableConstraintInfo

Call the typedef class CTableConstraints to implement its parameter class CTableConstraintInfo.

Remarks

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

This class identifies the table constraints, defined in the catalog, that are owned by a given user.

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

Data members

OLE DB columns

m_szCatalog

CONSTRAINT_CATALOG

m_szSchema

CONSTRAINT_SCHEMA

m_szName

CONSTRAINT_NAME

m_szTableCatalog

TABLE_CATALOG

m_szTableSchema

TABLE_SCHEMA

m_szTableName

TABLE_NAME

m_szType

CONSTRAINT_TYPE

m_bIsDeferrable

IS_DEFERRABLE

m_bInitiallyDeferred

INITIALLY_DEFERRED

m_szDescription

DESCRIPTION

Requirements

Header: atldbsch.h

See Also

Concepts

CRestrictions Class