IDBPropertiesImpl::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.

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

Parameters

See IDBProperties::GetProperties in the OLE DB Programmer's Reference.

Some parameters correspond to OLE DB Programmer's Reference parameters of different names, which are described in IDBProperties::GetProperties:

OLE DB Template parameters

OLE DB Programmer's Reference parameters

cPropertySets

cPropertyIDSets

rgPropertySets

rgPropertyIDSets

pcProperties

pcPropertySets

prgProperties

prgPropertySets

Remarks

If the provider is initialized, this method returns the values of properties in the DBPROPSET_DATASOURCE, DBPROPSET_DATASOURCEINFO, DBPROPSET_DBINIT property groups that are currently set on the data source object. If the provider is not initialized, it returns DBPROPSET_DBINIT group properties only.

Requirements

Header: atldb.h

See Also

Reference

IDBPropertiesImpl Class

IDBPropertiesImpl::GetPropertyInfo

IDBPropertiesImpl::SetProperties

Other Resources

IDBPropertiesImpl Members