Inserts events for the given monitoring object. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid
Dim monitoringObjectId As Guid
Dim events As CustomMonitoringEvent()

instance.InsertMonitoringEvents(connectorId, monitoringObjectId, events)

Syntax

Visual Basic
Public Sub InsertMonitoringEvents ( _
		connectorId As Guid, _
		monitoringObjectId As Guid, _
		events As CustomMonitoringEvent() _
)
C#
public void InsertMonitoringEvents (
		Guid connectorId,
		Guid monitoringObjectId,
		CustomMonitoringEvent[] events
)
C++
public:
void InsertMonitoringEvents (
		Guid connectorId, 
		Guid monitoringObjectId, 
		array<CustomMonitoringEvent^>^ events
)
J#
public void InsertMonitoringEvents (
		Guid connectorId, 
		Guid monitoringObjectId, 
		CustomMonitoringEvent[] events
)
JScript
public function InsertMonitoringEvents (
		connectorId : Guid, 
		monitoringObjectId : Guid, 
		events : CustomMonitoringEvent[]
)

Parameters

connectorId

The globally unique identifier (GUID) for the monitoring connector for which events against the given monitoring object are inserted.

monitoringObjectId

The globally unique identifier (GUID) for the monitoring object to insert events against.

events

An array of CustomMonitoringEvent objects to insert.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also