Compartir a través de


IConnectorFramework.InsertMonitoringEvents Method (Guid, Guid, CustomMonitoringEvent[])

 

Applies To: Operations Manager for System Center 2012

Inserts events for the given monitoring object.

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

Syntax

[FaultContractAttribute(typeof(UnknownChannelException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(TimeoutException))]
[FaultContractAttribute(typeof(ServerDisconnectedException))]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[FaultContractAttribute(typeof(ObjectNotFoundException))]
[FaultContractAttribute(typeof(ConnectorInvalidException))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[FaultContractAttribute(typeof(ArgumentOutOfRangeException))]
void InsertMonitoringEvents(
    Guid connectorId,
    Guid monitoringObjectId,
    CustomMonitoringEvent[] events
)
[FaultContractAttribute((UnknownChannelException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((TimeoutException^::typeid))]
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[FaultContractAttribute((ObjectNotFoundException^::typeid))]
[FaultContractAttribute((ConnectorInvalidException^::typeid))]
[FaultContractAttribute((ArgumentNullException^::typeid))]
[FaultContractAttribute((ArgumentOutOfRangeException^::typeid))]
void InsertMonitoringEvents(
    Guid connectorId,
    Guid monitoringObjectId,
    array<CustomMonitoringEvent^>^ events
)
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(TimeoutException))>]
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<FaultContractAttribute(typeof(ObjectNotFoundException))>]
[<FaultContractAttribute(typeof(ConnectorInvalidException))>]
[<FaultContractAttribute(typeof(ArgumentNullException))>]
[<FaultContractAttribute(typeof(ArgumentOutOfRangeException))>]
abstract InsertMonitoringEvents : 
        connectorId:Guid *
        monitoringObjectId:Guid *
        events:CustomMonitoringEvent[] -> unit
<FaultContractAttribute(GetType(UnknownChannelException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(TimeoutException))>
<FaultContractAttribute(GetType(ServerDisconnectedException))>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<FaultContractAttribute(GetType(ObjectNotFoundException))>
<FaultContractAttribute(GetType(ConnectorInvalidException))>
<FaultContractAttribute(GetType(ArgumentNullException))>
<FaultContractAttribute(GetType(ArgumentOutOfRangeException))>
Sub InsertMonitoringEvents (
    connectorId As Guid,
    monitoringObjectId As Guid,
    events As CustomMonitoringEvent()
)

Parameters

  • connectorId
    Type: System.Guid

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

  • monitoringObjectId
    Type: System.Guid

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

Remarks

Inserts events for the given monitoring object.

See Also

IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top