Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Interface Reference : IArea interface : IArea examples : Updating areas used for extents
 
Updating areas used for extents
There are no properties that can be edited on an existing area, but extents can be added later and committed to the service as follows:
area = service:GetArea("OrderDataArea")
extent = new Extent()
extent:Path = "C:\db").
area:Extents:Add(extent).
service:UpdateArea(area).
See also:
*IAreaSet interface
*IDataAdminElementinterface
*IExtentListinterface