次の方法で共有


CProviderTypes, CProviderInfo

 

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 CProviderTypes, CProviderInfo.

Call the typedef class CProviderTypes to implement its parameter class CProviderInfo.

Remarks

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

This class identifies the (base) data types supported by the data provider.

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

Data members OLE DB columns
m_szTypeName TYPE_NAME
m_nDataType DATA_TYPE
m_nColumnSize COLUMN_SIZE
m_szLiteralPrefix LITERAL_PREFIX
m_szLiteralSuffix LITERAL_SUFFIX
m_szCreateParams CREATE_PARAMS
m_bIsNullable IS_NULLABLE
m_bCaseSensitive CASE_SENSITIVE
m_nSearchable SEARCHABLE
m_bUnsignedAttribute UNSIGNED_ATTRIBUTE
m_bFixedPrecScale FIXED_PREC_SCALE
m_bAutoUniqueValue AUTO_UNIQUE_VALUE
m_szLocalTypeName LOCAL_TYPE_NAME
m_nMinScale MINIMUM_SCALE
m_nMaxScale MAXIMUM_SCALE
m_guidType GUID
m_szTypeLib TYPELIB
m_szVersion VERSION
m_bIsLong IS_LONG
m_bBestMatch BEST_MATCH

Requirements

Header: atldbsch.h

See Also

CRestrictions Class