GetService

Gets the service from the server.

Note: See the Component Reference section of this guide for a list of services that may be available to you.

Syntax

public Service getService(String serviceName) 

Parameters

  • Name—name of service

Results

Returns the specific service.

Example

Service service = server.GetService("ValidateAddress");