getHost (DataService - JavaScript)

Read-only. Returns the name of the host associated with the application using the bound service.

Defined in

DataService

Syntax

getHost() : String

Usage

Use this method to write to the DataService object and have it return the name of the host associated with the application using the bound service.

Language cross-reference

getHost method in Java DataService class.