共用方式為


CProcedureParameters CProcedureParamInfo

 

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 CProcedureParameters CProcedureParamInfo.

Call the typedef class CProcedureParameters to implement its parameter class CProcedureParamInfo.

Remarks

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

This class returns information about the parameters and return codes of procedures.

The following table lists the class data members and their corresponding OLE DB Columns. See PROCEDURE_PARAMETERS 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_szParameterName PARAMETER_NAME
m_nOrdinalPosition ORDINAL_POSITION
m_nType PARAMETER_TYPE
m_bHasDefault PARAMETER_HASDEFAULT
m_szDefault PARAMETER_DEFAULT
m_bIsNullable IS_NULLABLE
m_nDataType DATA_TYPE
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