| description | Learn more about: ISessionPropertiesImpl Class | |||||
|---|---|---|---|---|---|---|
| title | ISessionPropertiesImpl Class | |||||
| ms.date | 11/04/2016 | |||||
| f1_keywords |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | ca0ba254-c7dc-4c52-abec-cf895a0c6a63 |
Provides an implementation of the ISessionProperties interface.
template <class T, class PropClass = T>
class ATL_NO_VTABLE ISessionPropertiesImpl :
public ISessionProperties,
public CUtlProps<PropClass>T
Your class, derived from ISessionPropertiesImpl.
PropClass
A user-definable property class that defaults to T.
Header: atldb.h
| Name | Description |
|---|---|
| GetProperties | Returns the list of properties in the Session property group that are currently set on the session. |
| SetProperties | Sets properties in the Session property group. |
A mandatory interface on sessions. This class implements session properties by calling a static function defined by the property set map. The property set map should be specified in your session class.
Returns the list of properties in the DBPROPSET_SESSION property group that are currently set on the session.
STDMETHOD(GetProperties)(ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG * pcPropertySets,
DBPROPSET ** prgPropertySets);See ISessionProperties::GetProperties in the OLE DB Programmer's Reference.
Sets properties in the DBPROPSET_SESSION property group.
STDMETHOD(SetProperties)(ULONG cPropertySets,
DBPROPSET rgPropertySets[]);See ISessionProperties::SetProperties in the OLE DB Programmer's Reference.
OLE DB Provider Templates
OLE DB Provider Template Architecture