共用方式為


CColumnDomainUsage, CColumnDomainUsageInfo

 

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 CColumnDomainUsage, CColumnDomainUsageInfo.

Call the typedef class CColumnDomainUsage to implement its parameter class CColumnDomainUsageInfo.

Remarks

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

This class identifies the columns, defined in the catalog, that are dependent on a domain 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 COLUMN_DOMAIN_USAGE Rowset in the OLE DB Programmer's Reference for more information about the schema and columns.

Data members OLE DB columns
m_szCatalog DOMAIN_CATALOG
m_szSchema DOMAIN_SCHEMA
m_szName DOMAIN_NAME
m_szTableCatalog TABLE_CATALOG
m_szTableSchema TABLE_SCHEMA
m_szTableName TABLE_NAME
m_szColumnName COLUMN_NAME
m_guidColumn COLUMN_GUID
m_nColumnPropID COLUMN_PROPID

Requirements

Header: atldbsch.h

See Also

CRestrictions Class