Description

The discrete [long] choices which may be assumed by attribute instances of this McDBAttributeType.

Property type

A Variant value.  

Syntax

object.EnumValues

The EnumValues Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBAttributeType.

Remarks

McDBAttributeType instances with a Type of mcdbEnum are associated with a discrete set of string and long value pairs (i.e. two arrays, one of strings the other of longs). There must be an equal number of strings and longs, giving each string an associated/corresponding long value. If this McDBAttributeType is not of Type mcdbEnum, this property may not be assigned and will return an Empty variant.

Exceptions

Error Value Description
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have McDBRightsOwner.AttributeTypeAdminRight privileges.
E_UNEXPECTED &H8001FFFF A framework error occurred assigning or retrieving the value(s) for this property.