I'm doing an upsert of a JSON document in Azure CosmosDB SQL API as part of a transaction. I'm using the SDK Microsoft.Azure.DocumentDB.Core
.
I also have another SQL Server update which takes place in the same transaction scope (not .NET transaction scope class). If the SQL Server update fails, I want to revert/rollback the change made to the CosmosDB. What command or option I should use from the SDK to do that?