MonitoringPerformanceData.GetValueReader(DateTime, DateTime) Method

Definition

Gets all the values for this performance data instance between the selected range, inclusive.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringPerformanceDataValueReader ^ GetValueReader(DateTime startRange, DateTime endRange);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataValueReader GetValueReader (DateTime startRange, DateTime endRange);
member this.GetValueReader : DateTime * DateTime -> Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataValueReader
Public Function GetValueReader (startRange As DateTime, endRange As DateTime) As MonitoringPerformanceDataValueReader

Parameters

startRange
DateTime

The start of the range.

endRange
DateTime

The end of the range.

Returns

A MonitoringPerformanceDataValueReader.

Exceptions

startRange is greater than endRange, or startRange is less than the SQL minimum datetime, Jan 1, 1753

Applies to