ConnectorFrameworkProxy.GetMonitoringAlertsByIds(Guid, Guid[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets alerts for the given connector.
public:
cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ GetMonitoringAlertsByIds(Guid connectorId, cli::array <Guid> ^ alertIds);
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] GetMonitoringAlertsByIds (Guid connectorId, Guid[] alertIds);
member this.GetMonitoringAlertsByIds : Guid * Guid[] -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]
Public Function GetMonitoringAlertsByIds (connectorId As Guid, alertIds As Guid()) As ConnectorMonitoringAlert()
Parameters
- connectorId
- Guid
The connector id.
- alertIds
- Guid[]
The identifiers of the alerts to get.
Returns
The alerts that have changed since the current bookmark of the connector.
Remarks
To get a ConnectorMonitoringAlert array collection through a MonitoringConnector:
The monitoring connector must be set up.
The monitoring connector must be initialized.
Alerts must be present.
Alerts must be marked for the monitoring connector.
You can specify which alerts to get by specifying an array of alert identifiers.
This method gets alerts only from the bookmark date to the current time less 30 seconds.