ConflictResolutionPolicy.ConflictResolutionProcedure 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 StoredProcedure which is used for conflict resolution in the Azure Cosmos DB service. This stored procedure may be created after the DocumentCollection is created and can be changed as required.
[Newtonsoft.Json.JsonProperty(PropertyName="conflictResolutionProcedure")]
public string ConflictResolutionProcedure { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="conflictResolutionProcedure")>]
member this.ConflictResolutionProcedure : string with get, set
Public Property ConflictResolutionProcedure As String
Property Value
The stored procedure to perform conflict resolution.
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Examples
conflictResolutionPolicy.ConflictResolutionProcedure = "/name/first";
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 or ResourceId.
Applies to
Azure SDK for .NET