AttributeConstraint Class

An AttributeConstraint is a constraint associated with the current Attribute.

Associated table in .EAP file:     t_attributeconstraints

AttributeConstraint Attributes:

Attribute

Type

Notes

AttributeID

Long

Read/Write

The ID of the attribute this constraint applies to.

 

Name

String

Read/Write

The name of the constraint.

 

Notes

String

Read/Write

Descriptive notes about the constraint.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Type

String

Read/Write

The type of constraint.

 

AttributeConstraint Methods:

Method

Type

Notes

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used, as an exception is thrown when an error occurs.

 

Update ()

Boolean

Update the current AttributeConstraint object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.