Compartilhar via


service object

 

Provides access to mobile service-specific resources for use in a custom API defined in Microsoft Azure Mobile Services

Members

This object contains the following members:

Properties

The following properties of the mobile service instance are exposed for use in a custom API.

Name

Returns

Description

mssql

mssql object

Returns an instance of the mssql object, which is used to send Transact-SQL queries to tables in a mobile service.

push

push object

Returns an instance of the push object, which is used to send push notifications to clients. For more information, see Get started with push notifications (Windows Store/Windows Phone/iOS/Android).

tables

tables object

Returns an instance of the tables object, which is used to access and change data in mobile service tables. For more information, see Read and write data.

Remarks

In a custom API HTTP method export implementation, an instance of the service object is obtained from the request object

See Also

Custom API
Mobile Services JavaScript (Node.js) backend library
request object