Freigeben über


CDaoTableDef::GetAttributes

For a CDaoTableDef object, the return value specifies characteristics of the table represented by the CDaoTableDef object and can be a sum of these constants:

long GetAttributes( );

Return Value

Returns a value that indicates one or more characteristics of a CDaoTableDef object.

Remarks

Constant

Description

dbAttachExclusive

For databases that use the Microsoft Jet database engine, indicates the table is an attached table opened for exclusive use.

dbAttachSavePWD

For databases that use the Microsoft Jet database engine, indicates that the user ID and password for the attached table are saved with the connection information.

dbSystemObject

Indicates the table is a system table provided by the Microsoft Jet database engine.

dbHiddenObject

Indicates the table is a hidden table provided by the Microsoft Jet database engine.

dbAttachedTable

Indicates the table is an attached table from a non-ODBC database, such as a Paradox database.

dbAttachedODBC

Indicates the table is an attached table from an ODBC database, such as Microsoft SQL Server.

A system table is a table created by the Microsoft Jet database engine to contain various internal information.

A hidden table is a table created for temporary use by the Microsoft Jet database engine.

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

Requirements

Header: afxdao.h

See Also

Concepts

CDaoTableDef Class

CDaoTableDef Members

Hierarchy Chart

CDaoTableDef::SetAttributes