Partager via


CCheckConstraints, CCheckConstraintInfo

Call the typedef class CCheckConstraints to implement its parameter class CCheckConstraintInfo.

Remarks

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

This class identifies the check constraints, defined in the catalog, that are owned by a given user. A check constraint specifies the data values or formats that are acceptable in one or more columns in a table.

The following table lists the class data members and their corresponding OLE DB Columns. See CHECK_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_szCheckClause

CHECK_CLAUSE

m_szDescription

DESCRIPTION

Requirements

Header: atldbsch.h

See Also

Reference

CRestrictions Class