共用方式為


ICommandPropertiesImpl Class

Provides an implementation of the ICommandProperties interface.

template <class T, class PropClass = T>
class ATL_NO_VTABLE ICommandPropertiesImpl 
   : public ICommandProperties, public CUtlProps<PropClass>

Parameters

  • T
    Your class, derived from

  • PropClass
    Your properties class.

Members

Interface Methods

GetProperties

Returns the list of properties in the Rowset property group that are currently requested for the rowset.

SetProperties

Sets properties in the Rowset property group.

Remarks

This is mandatory on commands. The implementation is provided by a static function defined by the BEGIN_PROPSET_MAP macro.

Requirements

Header: atldb.h

See Also

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture