IDBPropertiesImpl::GetProperties

在数据源对象或属性的值在初始化属性组中当前设置由枚举数当前设置的数据源、数据源信息和初始化属性组中返回属性值。

STDMETHOD(GetProperties)( 
   ULONG cPropertySets, 
   const DBPROPIDSET rgPropertySets[], 
   ULONG * pcProperties, 
   DBPROPSET ** prgProperties  
);

参数

请参见《OLE DB 程序员参考》中的 IDBProperties::GetProperties

某些参数对应于 OLE DB 程序员参考 中不同名称的参数,如 IDBProperties::GetProperties所述:

OLE DB 模板参数

OLE DB 程序员参考中的参数

cPropertySets

cPropertyIDSets

rgPropertySets

rgPropertyIDSets

pcProperties

pcPropertySets

prgProperties

prgPropertySets

备注

如果提供程序初始化,此方法返回属性, DBPROPSET_DATASOURCEINFODBPROPSET_DBINIT 对数据源对象当前设置的属性组的值。 DBPROPSET_DATASOURCE的。如果提供程序未初始化,则返回 DBPROPSET_DBINIT 仅组属性。

要求

Header: atldb.h

请参见

参考

IDBPropertiesImpl 类

IDBPropertiesImpl::GetPropertyInfo

IDBPropertiesImpl::SetProperties