IConnectorFramework.InsertMonitoringEvents Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts events against the given monitoring object.
public:
void InsertMonitoringEvents(Guid connectorId, Guid monitoringObjectId, cli::array <Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringEvent ^> ^ events);
C#
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ObjectNotFoundException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentNullException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentOutOfRangeException))]
[System.ServiceModel.OperationContract]
public void InsertMonitoringEvents (Guid connectorId, Guid monitoringObjectId, Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEvent[] events);
abstract member InsertMonitoringEvents : Guid * Guid * Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEvent[] -> unit
Public Sub InsertMonitoringEvents (connectorId As Guid, monitoringObjectId As Guid, events As CustomMonitoringEvent())
- connectorId
- Guid
The connector id.
- monitoringObjectId
- Guid
The object id.
- events
- CustomMonitoringEvent[]
The events.
- Attributes
Inserts events for the given monitoring object.
製品 | バージョン |
---|---|
System Center OM SDK | 2012, 2016, 2019 |