IConnectorFramework.GetMonitoringAlertsForTiers(Guid, String, ConnectorTieredOperationFailure[]) Method

Definition

Gets alerts for the given connector.

public:
 cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ GetMonitoringAlertsForTiers(Guid connectorId, System::String ^ languageCodes, [Runtime::InteropServices::Out] cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorTieredOperationFailure ^> ^ % failures);
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ObjectNotFoundException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentNullException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.OperationContract]
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] GetMonitoringAlertsForTiers (Guid connectorId, string languageCodes, out Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorTieredOperationFailure[] failures);
abstract member GetMonitoringAlertsForTiers : Guid * string * ConnectorTieredOperationFailure[] -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]
Public Function GetMonitoringAlertsForTiers (connectorId As Guid, languageCodes As String, ByRef failures As ConnectorTieredOperationFailure()) As ConnectorMonitoringAlert()

Parameters

connectorId
Guid

The connector id.

languageCodes
String

A comma delimited list of three letter iso language standard language codes.

failures
ConnectorTieredOperationFailure[]

Any failures that occurred for various tiers.

Returns

ConnectorMonitoringAlert[]

The alerts that have changed since the current bookmark of the connector.

Attributes

Remarks

To get a ConnectorMonitoringAlert array collection through a MonitoringConnector:

  1. The monitoring connector must be set up.

  2. The monitoring connector must be initialized.

  3. Alerts must be present.

  4. Alerts must be marked for the monitoring connector.

This method gets all alerts assigned to a specific monitoring connector for each configured management tier.

This method gets alerts only from the bookmark date to the current time less 30 seconds.

Applies to