Share via


Attachment.ResolveConflict Method

Resolves the attachment conflict. This attachment is the winner of the conflict.

Namespace:  Microsoft.Office.SharePointWorkspace.AddIn.Data
Assembly:  Microsoft.Office.SharePointWorkspace.AddIn.Data (in Microsoft.Office.SharePointWorkspace.AddIn.Data.dll)

Syntax

'Declaration
Public Function ResolveConflict As Boolean
'Usage
Dim instance As Attachment
Dim returnValue As Boolean

returnValue = instance.ResolveConflict()
public bool ResolveConflict()

Return Value

Type: System.Boolean
true if the method succeeds; otherwise, false.

Remarks

This attachment becomes the winner and all other conflicting attachments are removed. This method is executed immediately on the underlying data and the update is replicated to all members of the workspace.

Note

Attachment conflicts are handled separately from DataRow conflicts. When you resolve the attachment conflict, it is resolved on all conflicting DataRows that contain that attachment, but the DataRow conflict remains and should also be resolved with the ResolveConflicts(DataRow) method.

See Also

Reference

Attachment Class

Attachment Members

Microsoft.Office.SharePointWorkspace.AddIn.Data Namespace