MonitoringPerformanceData.GetValues(DateTime, DateTime) Method

Definition

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

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringPerformanceDataValue ^> ^ GetValues(DateTime startRange, DateTime endRange);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataValue> GetValues (DateTime startRange, DateTime endRange);
member this.GetValues : DateTime * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringPerformanceDataValue>
Public Function GetValues (startRange As DateTime, endRange As DateTime) As ReadOnlyCollection(Of MonitoringPerformanceDataValue)

Parameters

startRange
DateTime

The start of the range.

endRange
DateTime

The end of the range.

Returns

A collection of MonitoringPerformanceDataValue objects.

Exceptions

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

Applies to