共用方式為


ISessionPropertiesImpl Class

Provides an implementation of the ISessionProperties interface.

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

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture