Compartir a través de


CDaoRecordset::GetType

Call this member function after opening the recordset to determine the type of the recordset object.

short GetType( );

Return Value

One of the following values that indicates the type of a recordset:

  • dbOpenTable   Table-type recordset

  • dbOpenDynaset   Dynaset-type recordset

  • dbOpenSnapshot   Snapshot-type recordset

Remarks

For related information, see the topic "Type Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::GetDefaultDBName

CDaoRecordset::GetDefaultSQL

CDaoRecordset::GetName

CDaoRecordset::GetSQL