SALES: 1-800-867-1380
Microsoft Azure
Collapse the table of content
Expand the table of content

MobileServiceClient.getTable function

Updated: June 20, 2013

Gets a reference to a table and its data operations.

mobileServiceClient.getTable(tableName);

tableName
Type: string

The name of the table.

Type: MobileServiceTable object

A reference to the table.

The following code creates a new client object to access the todolist mobile service and create a new proxy object for the TodoItem table.

var mobileService = new WindowsAzure.MobileServiceClient(
        "todolist.azure-mobile.net",
        "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    );

var todoTable = mobileService.getTable('TodoItem');

 

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

Show:
© 2016 Microsoft