다음을 통해 공유


ChangeConflictCollection.ResolveAll Method (RefreshMode, Boolean)

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

  • autoResolveDeletes
    Type: System.Boolean

    true 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

ChangeConflictCollection Members

ResolveAll Overload

Microsoft.SharePoint.Linq Namespace