共用方式為


CProcedureColumns, CProcedureColumnInfo

 

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 CProcedureColumns, CProcedureColumnInfo.

Call the typedef class CProcedureColumns to implement its parameter class CProcedureColumnInfo.

Remarks

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

This class returns information about the columns of rowsets returned by procedures.

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

Data members OLE DB columns
m_szCatalog PROCEDURE_CATALOG
m_szSchema PROCEDURE_SCHEMA
m_szName PROCEDURE_NAME
m_szColumnName COLUMN_NAME
m_guidColumn COLUMN_GUID
m_nColumnPropID COLUMN_PROPID
m_nRowsetNumber ROWSET_NUMBER
m_nOrdinalPosition ORDINAL_POSITION
m_bIsNullable IS_NULLABLE
m_nDataType DATA_TYPE
m_guidType TYPE_GUID
m_nMaxLength CHARACTER_MAXIMUM_LENGTH
m_nOctetLength CHARACTER_OCTET_LENGTH
m_nPrecision NUMERIC_PRECISION
m_nScale NUMERIC_SCALE
m_szDescription DESCRIPTION

Requirements

Header: atldbsch.h

See Also

CRestrictions Class