ConflictResolutionPolicy.ResolutionProcedure Property
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.
Gets or sets the Stored Procedure which is used for conflict resolution in the Azure Cosmos DB service. This stored procedure may be created after the CosmosContainer is created and can be changed as required.
public string ResolutionProcedure { get; set; }
member this.ResolutionProcedure : string with get, set
Public Property ResolutionProcedure As String
Property Value
The stored procedure to perform conflict resolution.
Examples
conflictResolutionPolicy.ConflictResolutionProcedure = "dbs/databaseName/colls/containerName/sprocs/storedProcedureName";
Remarks
1. This value should only be set when using Custom 2. In case the stored procedure fails or throws an exception, the conflict resolution will default to registering conflicts in the conflicts feed"/>. 3. The user can provide the stored procedure id.