共用方式為


CCollations, CCollationInfo

 

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 CCollations, CCollationInfo.

Call the typedef class CCollations to implement its parameter class CCollationInfo.

Remarks

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

This class identifies the character collations, 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 COLLATIONS Rowset in the OLE DB Programmer's Reference for more information about the schema and columns.

Data members OLE DB columns
m_szCatalog COLLATION_CATALOG
m_szSchema COLLATION_SCHEMA
m_szName COLLATION_NAME
m_szCharSetCatalog CHARACTER_SET_CATALOG
m_szCharSetSchema CHARACTER_SET_SCHEMA
m_szCharSetName CHARACTER_SET_NAME
m_szPadAttribute PAD_ATTRIBUTE

Requirements

Header: atldbsch.h

See Also

CRestrictions Class