Share via


CReferentialConstraints, CReferentialConstraintInfo

 

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 CReferentialConstraints, CReferentialConstraintInfo.

Call the typedef class CReferentialConstraints to implement its parameter class CReferentialConstraintInfo.

Remarks

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

This class identifies the referential 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 REFERENTIAL_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_szUniqueCatalog UNIQUE_CONSTRAINT_CATALOG
m_szUniqueSchema UNIQUE_CONSTRAINT_SCHEMA
m_szUniqueName UNIQUE_CONSTRAINT_NAME
m_szMatchOption MATCH_OPTION
m_szUpdateRule UPDATE_RULE
m_szDeleteRule DELETE_RULE
m_szDescription DESCRIPTION

Requirements

Header: atldbsch.h

See Also

CRestrictions Class