다음을 통해 공유


IDBPropertiesImpl 클래스

Provides an implementation for the IDBProperties interface.

template <class T> 
class ATL_NO_VTABLE IDBPropertiesImpl 
   : public IDBProperties, public CUtlProps<T>

매개 변수

  • T
    Your class, derived from IDBPropertiesImpl.

멤버

Interface Methods

GetProperties

Returns the values of properties in the Data Source, Data Source Information, and Initialization property groups that are currently set on the data source object or the values of properties in the Initialization property group that are currently set on the enumerator.

GetPropertyInfo

Returns information about all properties supported by the provider.

SetProperties

Sets properties in the Data Source and Initialization property groups, for data source objects, or the Initialization property group, for enumerators.

설명

IDBProperties is a mandatory interface for data source objects and an optional interface for enumerators. However, if an enumerator exposes IDBInitialize, it must expose IDBProperties. IDBPropertiesImpl implements IDBProperties by using a static function defined by BEGIN_PROPSET_MAP.

요구 사항

Header: atldb.h

참고 항목

개념

OLE DB 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조