Share via


IOpenRowsetImpl::OpenRowset

 

The latest version of this topic can be found at IOpenRowsetImpl::OpenRowset.

Opens and returns a rowset that includes all rows from a single base table or index.

Syntax

  
      HRESULT OpenRowset(  
   IUnknown* pUnkOuter,  
   DBID* pTableID,  
   DBID* pIndexID,  
   REFIID riid,  
   ULONG cPropertySets,  
   DBPROPSET rgPropertySets[],  
   IUnknown** ppRowset   
);  

Parameters

See IOpenRowset::OpenRowset in the OLE DB Programmer's Reference.

Remarks

This method is not found in ATLDB.H. It is created by the ATL Object Wizard when you create a provider.

Requirements

Header: atldb.h

See Also

IOpenRowsetImpl Class