共用方式為


CViewTableUsage, CViewTableInfo

 

The latest version of this topic can be found at CViewTableUsage, CViewTableInfo.

Call the typedef class CViewTableUsage to implement its parameter class CViewTableInfo.

Remarks

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

This class identifies the viewed tables, defined in the catalog, that are accessible to a given user.

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

Data members OLE DB columns
m_szCatalog VIEW_CATALOG
m_szSchema VIEW_SCHEMA
m_szName VIEW_NAME
m_szTableCatalog TABLE_CATALOG
m_szTableSchema TABLE_SCHEMA
m_szTableName TABLE_NAME

Requirements

Header: atldbsch.h

See Also

CRestrictions Class