Description

The Flags associated with an McDBAttributeType instance.

Property type

A mcDBReservedAtbType enumeration.  

Syntax

object.Flags [= value]

The Flags Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBAttributeType.
valueA mcDBReservedAtbType enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mcdbAtbConstant1
 mcdbAtbRequired2

Remarks

Each McDBAttributeType instance is associated with a 32-bit (Long) Flags value, which is manipulated through this property. The two low-order bits of the Flags property represent behavior pre-defined/enforced by McDBLib, and are represented by the mcDBReservedAtbType enumeration. All other flags bits are available for use by client code. That is, although this property's type is mcDBReservedAtbType, it may be assigned any Long value (see the Example).

Exceptions

Error Value Description
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have McDBRightsOwner.AttributeTypeAdminRight privileges.
E_FAIL &H80004005 The desired Flags could not be set, possibly because of a corrupt McDBDatabase.