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.153 -- Release Build+42f3d0bf0373d5bc86f6d691e637d32f2b3150d2
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