PartialMonitoringObject.InsertCustomMonitoringEvent Method (CustomMonitoringEvent)
Applies To: Operations Manager for System Center 2012
Inserts an event that is associated with this monitoring object into the runtime.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void InsertCustomMonitoringEvent(
CustomMonitoringEvent customEvent
)
public:
void InsertCustomMonitoringEvent(
CustomMonitoringEvent^ customEvent
)
member InsertCustomMonitoringEvent :
customEvent:CustomMonitoringEvent -> unit
Public Sub InsertCustomMonitoringEvent (
customEvent As CustomMonitoringEvent
)
Parameters
customEvent
Type: Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEventThe event to insert.
Examples
For an example of the InsertCustomMonitoringEvent method, see How to Insert Custom Event and Performance Data
See Also
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top