GetService
Gets the service from the server.
Note: See the Component Reference section of this guide for a list of servies that may be available to you.
Syntax
SmartPointer<Service> getService(const char* serviceName)
SmartPointer<Service> getService(const UnicodeString serviceName)
Parameters
- Name of service
Results
Returns the specific service.
Example
// Get Service From Server
SmartPointer<Service> service = server- >getService("ValidateAddress");
Same as ASCII, or:
// Get Service From Server
UnicodeString serviceName="ValidateAddress";// Or input unicode string
SmartPointer<Service> service = server->getService(serviceName);