AttributeConstraint

Return to Introduction  Previous page  Next page

public 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. ID of the attribute this constraint applies to.

Name

String

Read/Write. The constraint.

Type

String

Read/Write. Type of constraint.

Notes

String

Read/Write. Descriptive notes about constraint.

ObjectType

ObjectType

Read only.  Distinguishes objects referenced through a Dispatch interface.

AttributeConstraint Methods

Method

Type

Notes

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.

GetLastError () 

String

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

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