Compartir a través de


IDBPropertiesImpl::SetProperties

 

The latest version of this topic can be found at IDBPropertiesImpl::SetProperties.

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

Syntax

  
      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

IDBPropertiesImpl Class
IDBPropertiesImpl::GetProperties
IDBPropertiesImpl::GetPropertyInfo