Platform SDK: Exchange Server

Folder Snapshot Functions

The folder snapshot functions generate folder measurements taken at a specific moment in time. These functions are found in STATS.LIB.

The following measurements can be produced in any number:

The folder snapshot functions are typically called in the order shown in the following table.

Function Action When called
HrOpenFolderMetrics Opens the folder for folder snapshot statistics. For each folder where snapshot statistics are to be collected, once when monitoring starts.
HrGetFolderMetrics Retrieves specified folder snapshot statistics. For each folder where snapshot statistics are collected, periodically during monitoring.
CloseFolderMetrics Closes the folder and releases resources allocated in HrOpenFolderMetrics. For each folder where snapshot statistics have been collected, once when monitoring stops.