Share via


SyncDataConverter.ConvertDataFromProviderFormat Method

When overridden in a derived class, converts data from a provider’s transfer format to the required output format. The output format can be another provider's transfer format or an intermediate format that is used by a synchronization community.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Overridable Function ConvertDataFromProviderFormat ( _
    context As LoadChangeContext, _
    itemData As Object _
) As Object
'Usage
Dim instance As SyncDataConverter
Dim context As LoadChangeContext
Dim itemData As Object
Dim returnValue As Object

returnValue = instance.ConvertDataFromProviderFormat(context, _
    itemData)
public virtual Object ConvertDataFromProviderFormat(
    LoadChangeContext context,
    Object itemData
)
public:
virtual Object^ ConvertDataFromProviderFormat(
    LoadChangeContext^ context, 
    Object^ itemData
)
abstract ConvertDataFromProviderFormat : 
        context:LoadChangeContext * 
        itemData:Object -> Object 
override ConvertDataFromProviderFormat : 
        context:LoadChangeContext * 
        itemData:Object -> Object 
public function ConvertDataFromProviderFormat(
    context : LoadChangeContext, 
    itemData : Object
) : Object

Parameters

  • itemData
    Type: System.Object
    An object that represents the data to be converted.

Return Value

Type: System.Object
An object that represents the converted data.

Remarks

If a recoverable error occurs during data conversion, set that error on context. The item for which the error is set is then skipped during change application.

For more information about data conversion, see Converting Data Between Providers.

See Also

Reference

SyncDataConverter Class

Microsoft.Synchronization Namespace