CEnumeratorAccessor Class

Used by CEnumerator to access the data from the enumerator rowset.

Syntax

class CEnumeratorAccessor

Requirements

Header: atldbcli.h

Members

Data Members

Name Description
m_bIsParent A variable indicating whether the enumerator is a parent enumerator, if the row is an enumerator.
m_nType A variable indicating whether the row describes a data source or an enumerator.
m_szDescription The description of the data source or enumerator.
m_szName The name of the data source or enumerator.
m_szParseName String to pass to IParseDisplayName to obtain a moniker for the data source or enumerator.

Remarks

This rowset consists of the data sources and enumerators visible from the current enumerator.

CEnumeratorAccessor::m_bIsParent

A variable indicating whether the enumerator is a parent enumerator, if the row is an enumerator.

Syntax

VARIANT_BOOL m_bIsParent;

Remarks

See ISourcesRowset::GetSourcesRowset in the OLE DB Programmer's Reference for more information.

CEnumeratorAccessor::m_nType

A variable indicating whether the row describes a data source or an enumerator.

Syntax

USHORT m_nType;

Remarks

See ISourcesRowset::GetSourcesRowset in the OLE DB Programmer's Reference for more information.

CEnumeratorAccessor::m_szDescription

The description of the data source or enumerator.

Syntax

WCHAR m_szDescription[129];

Remarks

See ISourcesRowset::GetSourcesRowset in the OLE DB Programmer's Reference for more information.

CEnumeratorAccessor::m_szName

The name of the data source or enumerator.

Syntax

WCHAR m_szName[129];

Remarks

See ISourcesRowset::GetSourcesRowset in the OLE DB Programmer's Reference for more information.

CEnumeratorAccessor::m_szParseName

String to pass to IParseDisplayName to obtain a moniker for the data source or enumerator.

Syntax

WCHAR m_szParseName[129];

Remarks

See ISourcesRowset::GetSourcesRowset in the OLE DB Programmer's Reference for more information.

See also

OLE DB Consumer Templates
OLE DB Consumer Templates Reference