Share via


AlertSynchProviderClient.SynchronizeAlerts Method (IList<AlertInfo>, String, TaskType)

 

Synchronizes alerts with the Alert Provider.

Namespace:   Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly:  AlertFramework (in AlertFramework.dll)

Syntax

public void SynchronizeAlerts(
    IList<AlertInfo> alerts,
    string networkMachineId,
    TaskType task
)
public:
void SynchronizeAlerts(
    IList<AlertInfo^>^ alerts,
    String^ networkMachineId,
    TaskType task
)
Public Sub SynchronizeAlerts (
    alerts As IList(Of AlertInfo),
    networkMachineId As String,
    task As TaskType
)

Parameters

  • networkMachineId
    Type: System.String

    The identifier of the computer that generated the alerts.

Remarks

Because of security concerns, the application must run on the server to synchronize alerts on behalf of the other computer. It is recommended that the alert subsystem use the task type of Evaluate to perform a full synchronization.

When the task type of Raise is specified, the Alert Provider adds the alerts that are reported from the client computer to its active alerts list. When the task type of Clear is specified, the Alert Provider deletes the cleared alerts from its active alerts list. When the task type of Update is specified, the Alert Provider updates the alert with the data from the client computer.

See Also

AlertSynchProviderClient Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace

Return to top