Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Interface Reference : ISequence interface : ISequence properties
 

ISequence properties

Inherits properties from IDataAdminElement and defines the properties listed in the following table.
Table 108. Multi-tenant Maintenance ISequence interface properties
Property name
Data type
Access
Description
CurrentValue
INT64
Readable, Writeable
Set to the current value of the sequence.
IncrementValue
INT64
Readable, Writeable
Set to the increment value of the sequence.
InitialValue
INT64
Readable, Writeable
Set to the initial value of the sequence.
IsCyclic
LOGICAL
Readable, Writeable
Set to TRUE if the sequence is cyclic (restarts after its most incremented value).
IsMultitenant
LOGICAL
Readable, Writeable
Set to true if the sequence is multi-tenant enabled. Can be writeable only before the sequence is created.
MaximimumValue
INT64
Readable, Writeable
Set to the maximum value of the sequence.
MinimumValue
INT64
Readable, Writeable
Set to the minimum value of the sequence.
Name
CHARACTER
Read-only
Returns the sequence unique name and identifier (in the database). For a new sequence, you specify the name using the DataAdminService NewSequence( ) method.
SequenceValues
ISequenceValueMap
Read-only
Set to a collection of all tenant sequence current values for a multi-tenant sequence. Restricted access — Only a super tenant can see sequence values for other tenants.