Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resolves all the concurrency conflicts in the collection using the specified refresh mode and the specified resolution of deleted items.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Sub ResolveAll ( _
refreshMode As RefreshMode, _
autoResolveDeletes As Boolean _
)
'Usage
Dim instance As ChangeConflictCollection
Dim refreshMode As RefreshMode
Dim autoResolveDeletes As Boolean
instance.ResolveAll(refreshMode, autoResolveDeletes)
public void ResolveAll(
RefreshMode refreshMode,
bool autoResolveDeletes
)
Parameters
refreshMode
Type: Microsoft.SharePoint.Linq.RefreshModeA value that specifies how to resolve the conflict.
autoResolveDeletes
Type: System.Booleantrue to treat the conflict as resolved if the list item being changed has been deleted from the database; false to throw InvalidOperationException if the list item being changed has been deleted from the database
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | autoResolveDeletes is false and the list item being updated has been deleted from the database. |
See Also
Reference
ChangeConflictCollection Class