ISynchronizationManager.GetAllInstancesInError Method

Gets all External Items of a given view that are in error, including conflicts and read errors.

Namespace:  Microsoft.BusinessData.Offlining
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetAllInstancesInError ( _
    view As IView _
) As IEnumerator(Of IEntityInstance)
'Usage
Dim instance As ISynchronizationManager
Dim view As IView
Dim returnValue As IEnumerator(Of IEntityInstance)

returnValue = instance.GetAllInstancesInError(view)
IEnumerator<IEntityInstance> GetAllInstancesInError(
    IView view
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerator<IEntityInstance>
The External Items of a given view that are in error.

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

Examples

Code Snippet: Determine and Resolve External Items in Error in the BCS Client Cache

See Also

Reference

ISynchronizationManager Interface

ISynchronizationManager Members

Microsoft.BusinessData.Offlining Namespace