OnCalculateValues Method (SampledMetric)
Determines what specific samples to use and then calculates the effective values for each sample, returning the results in the provided new metric value set Determines what specific samples to use and then calculates the effective values for each sample, returning the results in the provided new metric value set
Parameters
- interval
- The interval to bias to.The interval to bias to.
- intervals
- The number of intervals to have between each value exactly.The number of intervals to have between each value exactly.
- startDateTime
- The exact date and time desired to start the value set.The exact date and time desired to start the value set.
- endDateTime
- The exact end date and time to not exceed.The exact end date and time to not exceed.
Return Value
A new metric value set with all calculated values.A new metric value set with all calculated values.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2