BatchExport

The BatchExport function exports objects from the Microsoft Exchange Server directory.

Quick Info

Header file: DAPI.H
Library: DAPI.LIB
Unicode: Yes

DWORD BatchExport (
  LPBEXPORT_PARMS lpBexportParms  
);
 

Parameters

lpBexportParms
Input parameter. Points to a BEXPORT_PARMS structure containing parameters for directory export operations.

Return Values

DWORD
Indicates the number of entries logged into the Microsoft Windows NT application log. This value does not indicate whether BatchExport completed successfully.

Remarks

The BatchExport function exports directory service objects. It uses the information in the BEXPORT_PARMS structure to control tasks such as error handling, progress monitoring, output format, and object export. This structure also specifies whether the output is written to a text file or processed in memory by a user-specified callback routine.

The return value does not indicate success or failure. The return value indicates the number of errors encountered and logged in the Windows NT application event log. See the event log for information about each error.

For more information on this function, see Using Directory Access Functions.

See Also

BatchImport