Platform SDK: Exchange Server |
The HrMonCollectNDRStats function builds statistics on the number of nondelivery reports (NDRs) produced by the gateway.
Header file: | MONITOR.H |
Library: | MONITOR.LIB |
HRESULT HrMonCollectNDRStats( DWORD cNDRs, DIRECTIONTYPE dir );
DIRECTIONTYPE_IN
The message was received from a foreign system.
DIRECTIONTYPE_OUT
The message was sent to a foreign system.
See Return Values.
HrMonCollectNDRStats builds cumulative statistics on the number of NDRs produced by the gateway in each direction. It is typically called each time an NDR is produced.
For more information on this function, see Monitor Sampling Functions and the HrMonCollectNDRStats function in MONITOR.C under the MONITOR code sample in Code Samples folder.
HrMonCollectAssociationStats, HrMonCollectMessageXferStats, HrMonInit, HrMonUninit