ISessionPropertiesImpl Class
Provides an implementation of the ISessionProperties interface.
Syntax
template <class T, class PropClass = T>
class ATL_NO_VTABLE ISessionPropertiesImpl :
public ISessionProperties,
public CUtlProps<PropClass>
Parameters
T
Your class, derived from ISessionPropertiesImpl
.
PropClass
A user-definable property class that defaults to T.
Requirements
Header: atldb.h
Members
Interface Methods
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. |
Remarks
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.
ISessionPropertiesImpl::GetProperties
Returns the list of properties in the DBPROPSET_SESSION
property group that are currently set on the session.
Syntax
STDMETHOD(GetProperties)(ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG * pcPropertySets,
DBPROPSET ** prgPropertySets);
Parameters
See ISessionProperties::GetProperties in the OLE DB Programmer's Reference.
ISessionPropertiesImpl::SetProperties
Sets properties in the DBPROPSET_SESSION
property group.
Syntax
STDMETHOD(SetProperties)(ULONG cPropertySets,
DBPROPSET rgPropertySets[]);
Parameters
See ISessionProperties::SetProperties in the OLE DB Programmer's Reference.
See also
OLE DB Provider Templates
OLE DB Provider Template Architecture
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru