Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 2.55 KB

File metadata and controls

85 lines (56 loc) · 2.55 KB
description Learn more about: ICommandPropertiesImpl Class
title ICommandPropertiesImpl Class
ms.date 11/04/2016
f1_keywords
ICommandPropertiesImpl
ATL.ICommandPropertiesImpl
ATL::ICommandPropertiesImpl
ICommandPropertiesImpl::GetProperties
ICommandPropertiesImpl.GetProperties
ICommandPropertiesImpl.SetProperties
ICommandPropertiesImpl::SetProperties
helpviewer_keywords
ICommandPropertiesImpl class
GetProperties method
SetProperties method
ms.assetid b3cf6aea-527e-4f0d-96e0-669178b021a2

ICommandPropertiesImpl Class

Provides an implementation of the ICommandProperties interface.

Syntax

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.

Requirements

Header: atldb.h

Members

Interface Methods

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.

Remarks

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

ICommandPropertiesImpl::GetProperties

Returns all the requested property sets using the command's property map.

Syntax

STDMETHOD(GetProperties)(const ULONG cPropertyIDSets,
   const DBPROPIDSET rgPropertyIDSets[],
   ULONG * pcPropertySets,
   DBPROPSET ** prgPropertySets);

Parameters

See ICommandProperties::GetProperties in the OLE DB Programmer's Reference.

Remarks

See BEGIN_PROPSET_MAP.

ICommandPropertiesImpl::SetProperties

Sets properties for the command object.

Syntax

STDMETHOD(SetProperties)(ULONG cPropertySets,
   DBPROPSET rgPropertySets[]);

Parameters

See ICommandProperties::SetProperties in the OLE DB Programmer's Reference.

See also

OLE DB Provider Templates
OLE DB Provider Template Architecture