SetIndex method: PTDirectTransferObject class
Syntax
SetIndex(Index_Name)
Description
Use the SetIndex method to set the name of an index.
Note:
Use the database name as a suffix for the index. For example, hc_hrs_app_index_hcmdb01, where hcmdb01 is the name of the database.
Parameters
| Parameter | Description |
|---|---|
|
Index_Name |
Specifies the name of the index as a String. |
Returns
An Integer value indicating the libcurl error code.
Example
Local PTDirectTransferObject &PTDTObject = CreateDirecttransferObject();
Local integer &return = &PTDTObject.SetIndex("testindex");