Gemstone Data Library
Show/Hide TOC

# ITableOperationsDeleteRecordAsync(Object, CancellationToken) Method

Deletes the specified modeled table record from the database.

## Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.143 -- Release Build+e39ee60a4b307fea0c37636ce689adb1b037d737
C#
View Source Request Example

    Task<int> DeleteRecordAsync(
    	Object record,
    	CancellationToken cancellationToken
    )

VB
View Source Request Example

    Function DeleteRecordAsync (
    	record As Object,
    	cancellationToken As CancellationToken
    ) As Task(Of Integer)

C++
View Source Request Example

    Task<int>^ DeleteRecordAsync(
    	Object^ record,
    	CancellationToken cancellationToken
    )

JavaScript
View Source Request Example

    function DeleteRecordAsync(record, cancellationToken);

#### Parameters

record Object
  Record to delete.
cancellationToken CancellationToken
  Propagates notification that operations should be canceled.

#### Return Value

Task Int32
Number of rows affected.

## See Also

#### Reference

ITableOperations Interface
DeleteRecordAsync Overload
Gemstone.Data.Model Namespace