Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Collection Interface Reference : IAreaSet interface : IAreaSet methods
 

IAreaSet methods

Inherits methods from IDataAdminCollection and defines the methods listed in the following table.
Table 121. Multi-tenant Maintenance IAreaSet interface methods
Method syntax
Description
LOGICAL Add ( area AS IArea )
Adds the area object referenced by area to the set and returns TRUE if successful.
LOGICAL CanFind ( areaname AS CHARACTER )
Returns TRUE if there is an area object in the set that has its Name property set to areaname.
LOGICAL CanFind ( areanum AS INTEGER )
Returns TRUE if there is an area object in the set that has its Number property set to areanum.
LOGICAL Contains ( area AS IArea )
Returns TRUE if the area object referenced by area is in the set.
IArea Find ( areaname AS CHARACTER )
Returns the area object from the set that has its Name property set to areaname. Returns the Unknown value (?) if the object is not found.
IArea Find ( areanum AS INTEGER )
Returns the area object from the set that has its Number property set to areanum. Returns the Unknown value (?) if the object is not found.
See also:
*IArea interface
*IDataAdminCollection interface