RCServiceDefinition method: RCServiceDefinition class
Syntax
RCServiceDefinition(service_ID, lang_CD)
Description
Use the RCServiceDefinition constructor method to instantiate a PTCS_SRVDEFN:RCServiceDefinition object. Use the IsNew property to determine whether the object was instantiated from an existing service definition (that is, the service_ID parameter corresponds to an existing definition) or as a new service definition.
Parameters
| Parameter | Description |
|---|---|
|
service_ID |
Specifies the unique identifier for the service definition as a string value. |
|
lang_CD |
Specifies the language code for this definition as a three-character string. |
Returns
A PTCS_SRVDEFN:RCServiceDefinition object.
Example
import PTCS_SRVDEFN:*;
Component PTCS_SRVDEFN:RCServiceDefinition &rcServDefn;
&rcServDefn = create PTCS_SRVDEFN:RCServiceDefinition("SERVICE_DEFN", "ENG");