共用方式為


CHAIN_PROPERTY_SET

 

The latest version of this topic can be found at CHAIN_PROPERTY_SET.

This macro chains property groups together.

Syntax

  
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.

Warning

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

Requirements

Header: atldb.h

See Also

Macros for OLE DB Provider Templates