Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

delete function

Updated: August 24, 2012

Invoked when an item is deleted from a table.

function del(id, user, request) { }

id
Type: number

The ID of the record to be deleted.

user
Type: object

The user object that represents an authenticated user when authentication is required, otherwise undefined.

request
Type: object

The request object that represents the request for the operation.

Type: undefined

When the delete operation succeeds, a response with 204 HTTP status code is returned, with no entity-body.

Because the id parameter is passed by value, changing it in your script does not affect the item that gets deleted.

You can override the default success and error behaviors. For more information, see Mobile Services server script reference

Visa:
© 2014 Microsoft