Share via


UnmanagedSyncProviderWrapper.Initialize Method

Initializes the wrapper so that it represents the specified unmanaged provider and uses the specified change data retriever adapter to convert between managed and unmanaged data retrievers.

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

Syntax

'Declaration
Public Sub Initialize ( _
    unmanagedKnowledgeSyncProvider As Object, _
    changeDataRetrieverAdapter As IChangeDataRetrieverAdapter _
)
'Usage
Dim instance As UnmanagedSyncProviderWrapper
Dim unmanagedKnowledgeSyncProvider As Object
Dim changeDataRetrieverAdapter As IChangeDataRetrieverAdapter

instance.Initialize(unmanagedKnowledgeSyncProvider, changeDataRetrieverAdapter)
public void Initialize (
    Object unmanagedKnowledgeSyncProvider,
    IChangeDataRetrieverAdapter changeDataRetrieverAdapter
)
public:
void Initialize (
    Object^ unmanagedKnowledgeSyncProvider, 
    IChangeDataRetrieverAdapter^ changeDataRetrieverAdapter
)
public void Initialize (
    Object unmanagedKnowledgeSyncProvider, 
    IChangeDataRetrieverAdapter changeDataRetrieverAdapter
)
public function Initialize (
    unmanagedKnowledgeSyncProvider : Object, 
    changeDataRetrieverAdapter : IChangeDataRetrieverAdapter
)

Parameters

  • unmanagedKnowledgeSyncProvider
    The unmanaged provider that is wrapped by this object.
  • changeDataRetrieverAdapter
    An adapter that can convert the change data retriever and change data between its managed and unmanaged representations. Can be a null reference (Nothing in Visual Basic) if no conversion is needed.

Remarks

Initialize can be called only when the UnmanagedSyncProviderWrapper object was created by using the default constructor.

Initialize can be called only one time.

See Also

Reference

UnmanagedSyncProviderWrapper Class
UnmanagedSyncProviderWrapper Members
Microsoft.Synchronization Namespace