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

IPartitionPolicyDetailSet methods

Inherits methods from IDataAdminCollection and defines the methods listed in the following table.
Table 133. Table Partition Maintenance IPartitionPolicySet interface methods
Method syntax
Description
LOGICAL CanFind ( name AS CHARACTER )
Returns TRUE if the collection contains a partition policy detail with the specified name.
LOGICAL CanFind ( name AS CHARACTER )
Returns TRUE if the collection contains a partition policy detail with the specified name.
IPartitionPolicyDetail Find ( name AS CHARACTER )
Returns the partition policy detail object from the set that has its policy detail policy detail name property set to name. Returns the Unknown value (?) if the object is not found.
IPartitionPolicyDetail Find ( partition-id AS INTEGER )
Returns the partition policy object from the set that has its integer key property set to partition-id. Returns the Unknown value (?) if the object is not found.
IPartitionPolicyDetail FindLastByValue ( )
Returns the character partition policy detail by value. The collection defaults to be sorted by the name key.
IPartitionPolicyDetail FindLastByValue ( value AS * )
Returns the single field partition policy detail that corresponds to the value, and of the same data type. (* = all data types)
This allows the user to find the policy detail that is used to store data for a specific value when the policy is defined as a range.
IPartitionPolicyDetail FindLastByValue ( values AS CHARACTER [] )
Returns the character values of a multi-field partition policy detail that corresponds to the passed values.
Returns the Unknown value (?) (or throws an error) if the number of extents do not match with the number of fields in the partition policy.
See also:
*IDataAdminCollectioninterface
*IUserPermissioninterface