DeleteService method: RCService class
Syntax
DeleteService(service_ID)
Description
Use the DeleteService method to delete all related content service instances from this component for the given service_ID parameter.
Parameters
| Parameter | Description |
|---|---|
|
service_ID |
Specifies a string value representing the service ID of an existing related content service definition. |
Returns
A boolean value: True if the delete is successful, False otherwise.
Example
import PTCS_SERVICE:RCService;
Component PTCS_SERVICE:RCService &pgRFFlRcService;
&pgRFFlRcService = create PTCS_SERVICE:RCService("EMPLOYEE", "QE_NUI_RI_GBL");
Local boolean &bRetDel = &pgRFFlRcService.DeleteService("APPTEST_UTIL_SERVID");
Local boolean &bRetSav = &pgRFFlRcService.Save()