DeleteServiceInstance method: RCService class
Syntax
DeleteServiceInstance(instance_ID)
Description
Use the DeleteServiceInstance method to delete a specific service configuration instance from this component.
Parameters
| Parameter | Description |
|---|---|
|
instance_ID |
Specifies an integer value representing the instance ID for a specific related content service configuration. |
Returns
A boolean value: True if the delete is successful, False otherwise.
Example
import PTCS_SERVICE:RCService;
import PTCS_SRVCONFIG:RCServiceConfig;
Component PTCS_SERVICE:RCService &pgRFFlRcService;
&pgRFFlRcService = create PTCS_SERVICE:RCService("EMPLOYEE", "QE_NUI_RI_GBL");
Local PTCS_SRVCONFIG:RCServiceConfig &rcRFFlServConfig = &pgRFFlRcService.AddNewService("APPTEST_UTIL_SERVID", 0);
Local boolean &bRetDel = &pgRFFlRcService.DeleteServiceInstance(&rcRFFlServConfig.InstanceId);
Local boolean &bRetSav = &pgRFFlRcService.Save();