IConnectorFramework.GetMonitoringAlertsWithBookmark(Guid, String, DateTime) Method

Definition

Gets alerts for the given connector.

public:
 cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ GetMonitoringAlertsWithBookmark(Guid connectorId, System::String ^ languageCodes, DateTime utcBookmarkTime);
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[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(System.ArgumentNullException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[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.UnknownServiceException))]
[System.ServiceModel.OperationContract]
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] GetMonitoringAlertsWithBookmark (Guid connectorId, string languageCodes, DateTime utcBookmarkTime);
abstract member GetMonitoringAlertsWithBookmark : Guid * string * DateTime -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]
Public Function GetMonitoringAlertsWithBookmark (connectorId As Guid, languageCodes As String, utcBookmarkTime As DateTime) As ConnectorMonitoringAlert()

Parameters

connectorId
Guid

The connector id.

languageCodes
String

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

utcBookmarkTime
DateTime

The bookmark time to get alerts by.

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:

  • 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.

This method gets all alerts assigned to a specific monitoring connector after the specified bookmark date and time.

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

Applies to