Share via


ConnectorFrameworkProxy.GetMonitoringAlertsWithBookmarkForTiers Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets alerts marked for the monitoring connector for each tiered Management Group. You also specify a timestamp bookmark, and all alerts with a timestamp after the bookmark will be returned. The failures that occurred for the configured tiers are returned.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid
Dim utcBookmarkTime As DateTime
Dim failures As ConnectorTieredOperationFailure()
Dim returnValue As ConnectorMonitoringAlert()

returnValue = instance.GetMonitoringAlertsWithBookmarkForTiers(connectorId, utcBookmarkTime, failures)

Syntax

'Declaration
Public Function GetMonitoringAlertsWithBookmarkForTiers ( _
    connectorId As Guid, _
    utcBookmarkTime As DateTime, _
    <OutAttribute> ByRef failures As ConnectorTieredOperationFailure() _
) As ConnectorMonitoringAlert()
public ConnectorMonitoringAlert[] GetMonitoringAlertsWithBookmarkForTiers (
    Guid connectorId,
    DateTime utcBookmarkTime,
    out ConnectorTieredOperationFailure[] failures
)
public:
array<ConnectorMonitoringAlert^>^ GetMonitoringAlertsWithBookmarkForTiers (
    Guid connectorId, 
    DateTime utcBookmarkTime, 
    [OutAttribute] array<ConnectorTieredOperationFailure^>^% failures
)
public ConnectorMonitoringAlert[] GetMonitoringAlertsWithBookmarkForTiers (
    Guid connectorId, 
    DateTime utcBookmarkTime, 
    /** @attribute OutAttribute() */ /** @ref */ ConnectorTieredOperationFailure[] failures
)

Parameters

  • connectorId
    The globally unique identifier (GUID) for the monitoring connector to get alerts for.
  • utcBookmarkTime
    A timestamp bookmark. All alerts with a timestamp prior to this will be returned.
  • failures
    The array of failures that may have occurred for various tiers.

Return Value

Returns an Array of ConnectorMonitoringAlert objects that contain the alerts for the specified monitoring 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.

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ConnectorFrameworkProxy Class
ConnectorFrameworkProxy Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace