IPartitionPolicy methods
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
IPartitionPolicy methods
Inherits methods from IPartitionPolicyParent.
Note: The
Table and HasRange properties must be
set and the Fields collection must have at least one field before calling
this method.| Method syntax | Description |
|---|---|
AddDetailsFromData() |
Populates the policy details collection from table data. |
AddDetailsFromData(pcTokenString as
CHARACTER) |
Populates the policy details collection from table data. The name
template for the policy details is specified by pcTokenString in the
"${<property(1)>}...-${<property(n)>}" format where
property can be PartitionPolicyName,
PartitionPolicyType, Number,
TableName and Values[i] (i refers
to the ordinal number of the partition fields.)For example,
|
AddDetailsFromData(pcTokenBase as
CHARACTER,pcTokenSubstituteArgs as CHARACTER) |
Populates the policy details collection from table data. To specify
the name template of the policy details, the pcTokenBase parameter
sets the template property order in the "&1...-&n" format
(n can take values up to 9). The
pcTokenSubstituteArgs parameter specifies comma-separated property
values in the order set by pcTokenBase. The property values can be
PartitionPolicyName, PartitionPolicyType,
Number, TableName and Values[i]
(i refers to the ordinal number of the partition fields.)For
example,
|