共用方式為


IOpenRowsetImpl::OpenRowset

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

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

Reference

IOpenRowsetImpl Class

Other Resources

IOpenRowsetImpl Members