다음을 통해 공유


ConflictResolutionPolicy.ResolutionProcedure Property

Definition

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.

Applies to