TransactionalBatch.DeleteItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an operation to delete an item into the batch.
public abstract Microsoft.Azure.Cosmos.TransactionalBatch DeleteItem (string id, Microsoft.Azure.Cosmos.TransactionalBatchItemRequestOptions requestOptions = default);
abstract member DeleteItem : string * Microsoft.Azure.Cosmos.TransactionalBatchItemRequestOptions -> Microsoft.Azure.Cosmos.TransactionalBatch
Public MustOverride Function DeleteItem (id As String, Optional requestOptions As TransactionalBatchItemRequestOptions = Nothing) As TransactionalBatch
Parameters
- id
- String
The unique id of the item.
- requestOptions
- TransactionalBatchItemRequestOptions
(Optional) The options for the item request.
Returns
The transactional batch instance with the operation added.