Delen via


IDBPropertiesImpl::SetProperties

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

STDMETHOD(SetProperties)( 
   ULONG cPropertySets, 
   DBPROPSET rgPropertySets[]  
);

Parameters

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

Remarks

If the provider is initialized, this method sets the values of properties in the DBPROPSET_DATASOURCE, DBPROPSET_DATASOURCEINFO, DBPROPSET_DBINIT property groups for the data source object. If the provider is not initialized, it sets DBPROPSET_DBINIT group properties only.

Requirements

Header: atldb.h

See Also

Reference

IDBPropertiesImpl Class

IDBPropertiesImpl::GetProperties

IDBPropertiesImpl::GetPropertyInfo