Compartilhar via


IConnectorFramework.AcknowledgeMonitoringAlerts Method (Guid, DateTime)

 

Applies To: Operations Manager for System Center 2012

The monitoring connector acknowledges that it has successfully received monitoring alerts from the ConnectorFrameworkProxy. Acknowledges alerts up until the given bookmark.

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

Syntax

[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[FaultContractAttribute(typeof(ConnectorInvalidException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(TimeoutException))]
[FaultContractAttribute(typeof(ServerDisconnectedException))]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
[FaultContractAttribute(typeof(UnknownChannelException))]
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
void AcknowledgeMonitoringAlerts(
    Guid connectorId,
    DateTime utcBookmarkTime
)
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[FaultContractAttribute((ConnectorInvalidException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((TimeoutException^::typeid))]
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
[FaultContractAttribute((UnknownChannelException^::typeid))]
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
void AcknowledgeMonitoringAlerts(
    Guid connectorId,
    DateTime utcBookmarkTime
)
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<FaultContractAttribute(typeof(ConnectorInvalidException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(TimeoutException))>]
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
abstract AcknowledgeMonitoringAlerts : 
        connectorId:Guid *
        utcBookmarkTime:DateTime -> unit
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<FaultContractAttribute(GetType(ConnectorInvalidException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(TimeoutException))>
<FaultContractAttribute(GetType(ServerDisconnectedException))>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
<FaultContractAttribute(GetType(UnknownChannelException))>
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
Sub AcknowledgeMonitoringAlerts (
    connectorId As Guid,
    utcBookmarkTime As Date
)

Parameters

  • connectorId
    Type: System.Guid

    A globally unique identifier (GUID) for the monitoring connector.

  • utcBookmarkTime
    Type: System.DateTime

    A timestamp bookmark. All alerts with a timestamp prior to this will be acknowledged.

Remarks

The monitoring connector must acknowledge that alerts have been received. Failure to acknowledge an alert will result in subsequent calls to GetMonitoringAlerts returning previously returned alerts until its successful transmission is acknowledged by the monitoring connector.

After acknowledging alerts, you get alerts that are updated after the bookmark time that you acknowledged with.

See Also

IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top