MonitoringConnector::GetMonitoringAlerts Method (DateTime)
System Center
Applies To: Operations Manager for System Center 2012
Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlerts(
DateTime utcBookmarkTime
)
Parameters
- utcBookmarkTime
-
Type:
System::DateTime
The date and time value to which the bookmark is initially set.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<ConnectorMonitoringAlert^>^Returns a ReadOnlyCollection<T> of ConnectorMonitoringAlert objects.
This method only gets alerts that are marked for the monitoring connector from the utcBookmarkTime bookmark time to the current time less 30 seconds.
Show: