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.159 -- Release Build+9666939f99852a601f77d33e6f63320df255766c
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