IConnectorFramework.InsertMonitoringEvents Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Inserts events for the given monitoring object.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IConnectorFramework
Dim connectorId As Guid
Dim monitoringObjectId As Guid
Dim events As CustomMonitoringEvent()
instance.InsertMonitoringEvents(connectorId, monitoringObjectId, events)
Syntax
'Declaration
<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() _
)
[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(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,
array<CustomMonitoringEvent^>^ events
)
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) */
/** @attribute OperationContractAttribute() */
/** @attribute FaultContractAttribute(System.TimeoutException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ObjectNotFoundException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException) */
/** @attribute FaultContractAttribute(System.ArgumentNullException) */
/** @attribute FaultContractAttribute(System.ArgumentOutOfRangeException) */
void InsertMonitoringEvents (
Guid connectorId,
Guid monitoringObjectId,
CustomMonitoringEvent[] events
)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException)
OperationContractAttribute
FaultContractAttribute(System.TimeoutException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ObjectNotFoundException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException)
FaultContractAttribute(System.ArgumentNullException)
FaultContractAttribute(System.ArgumentOutOfRangeException)
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.
Remarks
Inserts events for the given monitoring object.
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
IConnectorFramework Interface
IConnectorFramework Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace