共用方式為


CHAIN_PROPERTY_SET

This macro chains property groups together.

CHAIN_PROPERTY_SET(ChainClass )

Parameters

  • ChainClass
    [in] The name of the class to chain properties for. This is a class generated by the ATL Project Wizard that already contains a map (such as a session, command, or data source object class).

Remarks

You can chain a property set from another class to your own class, then access the properties directly from your class.

警告

Use this macro sparingly. Improper use can cause a consumer to fail the OLE DB conformance tests.

Requirements

Header: atldb.h

See Also

Other Resources

Macros for OLE DB Provider Templates