ISessionPropertiesImpl Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

Members

Interface Methods

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.

Requirements

Header: atldb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture