| description | Learn more about: ICommandPropertiesImpl Class | |||||||
|---|---|---|---|---|---|---|---|---|
| title | ICommandPropertiesImpl Class | |||||||
| ms.date | 11/04/2016 | |||||||
| f1_keywords |
|
|||||||
| helpviewer_keywords |
|
|||||||
| ms.assetid | b3cf6aea-527e-4f0d-96e0-669178b021a2 |
Provides an implementation of the ICommandProperties interface.
template <class T, class PropClass = T>
class ATL_NO_VTABLE ICommandPropertiesImpl
: public ICommandProperties, public CUtlProps<PropClass>T
Your class, derived from
PropClass
Your properties class.
Header: atldb.h
| Name | Description |
|---|---|
| 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. |
This is mandatory on commands. The implementation is provided by a static function defined by the BEGIN_PROPSET_MAP macro.
Returns all the requested property sets using the command's property map.
STDMETHOD(GetProperties)(const ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG * pcPropertySets,
DBPROPSET ** prgPropertySets);See ICommandProperties::GetProperties in the OLE DB Programmer's Reference.
See BEGIN_PROPSET_MAP.
Sets properties for the command object.
STDMETHOD(SetProperties)(ULONG cPropertySets,
DBPROPSET rgPropertySets[]);See ICommandProperties::SetProperties in the OLE DB Programmer's Reference.
OLE DB Provider Templates
OLE DB Provider Template Architecture