SampleUTCTime Property

Provides access to the date and time that the performance data was collected.

Syntax

ScriptContext.PerfData.SampleUTCTime
ScriptContext.CreatePerfData.SampleUTCTime

Access

Read Only When used with an performance data provided to the script by the Microsoft Operations Manager 2000 (MOM) product.
Read/Write When used with new performance data created with the ScriptContext.CreatePerfData Method.

Return Type

Date.

Example

To access date and time that the performance data provided to the script by MOM was collected, enter:


Dim MYperfdata
Dim MYsampletime
set MYperfdata = ScriptContext.PerfData
set MYsampletime = MYPerfData.SampleUTCTime