Inherited Property

   

Returns a value that indicates whether a CdbProperty object is inherited from an underlying object.

Syntax

BOOLGetInherited(VOID);

Remarks

You can use the Inherited property to determine whether a user-defined CdbProperty was created for the object it applies to or whether the CdbProperty was inherited from another object. For example, suppose you create a new CdbProperty for a CdbQueryDef object and then open a CdbRecordset object from the CdbQueryDef object. This new CdbProperty will be part of the CdbRecordset object's Properties collection, and its Inherited property will be set to True because the property was created for the CdbQueryDef object, not the CdbRecordset object.

For built-in CdbProperty objects that represent predefined properties, the only possible return value is False. This property is always False in an ODBCDirect workspace.