CTable::Open

HRESULT Open( const CSession& session, LPCTSTR szTableName, DBPROPSET* pPropSet = NULL );

HRESULT Open( const CSession& session, DBID& dbid, DBPROPSET* pPropSet = NULL );

Return Value

A standard HRESULT.

Parameters

session

[in] The session for which the table is opened.

szTableName

[in] The string containing the name of a table to open.

pPropSet

[in/out] An array of DBPROPSET structures containing properties and values to be set. The properties specified in these structures must belong to the Rowset property group.

dbid

[in] The DBID of the table to open.

Remarks

Opens the table. For more details, see IOpenRowset::OpenRowset in the OLE DB Programmer's Reference.

CTable OverviewClass Members