IExchangeImportHierarchyChanges::Config

The Config method initializes the collector in preparation to import changes from the synchronizer.

HRESULT Config(
  LPSTREAM * lpStream,  
  ULONG ulFlags         
);
 

Parameters

lpStream
Input parameter. Points to an open Win32 IStream interface. For unidirectional synchronization, this parameter is usually NULL.
ulFlags
Input parameter. Set this parameter to NULL, as this parameter is ignored.

Return Values

See Return Values.

In addition, Config can return one of the following values:

SUCCESS_SUCCESS
The method completed successfully.
SYNC_E_ERROR
An unknown error occurred.
SYNC_E_UNKNOWN_FLAGS
One of the flags was not valid.

Remarks

The Config method is called once by the agent to initialize the collector. Some collectors can use the Win32 IStream interface where the lpStream parameter points to maintain a cross-reference of source keys and their corresponding internal identifiers. Maintaining this cross-reference enables more efficient deletions when an object is created and deleted before synchronization occurs.

See Also

IExchangeExportChanges::Config, IExchangeImportHierarchyChanges