IncrementalMonitoringDiscoveryData Class
Updated: April 16, 2012
Applies To: Operations Manager for System Center 2012
Collects discovery data and merges the existing discovery data with the discovery information provided in the incremental update.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Microsoft.EnterpriseManagement.ConnectorFramework::IncrementalDiscoveryData
Microsoft.EnterpriseManagement.ConnectorFramework::IncrementalMonitoringDiscoveryData
| Name | Description | |
|---|---|---|
![]() | IncrementalMonitoringDiscoveryData() | Creates a new instance of the IncrementalMonitoringDiscoveryData class. |
An instance of the IncrementalMonitoringDiscoveryData class represents a list of monitoring objects and monitoring relationships to add to or remove from Operations Manager.
The incremental discovery data is appended to the existing discovery data when the M:Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalMonitoringDiscoveryData.Commit(Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector) object is called.
The following code example:
Connects to a ManagementGroup.
Creates a connector.
Initializes the newly created connector.
Imports a management pack (if it is not already loaded).
Gets the monitoring class for each of the defined IncrementalMonitoringDiscoveryData objects, MonitoringClass objects, CustomMonitoringObject, CustomMonitoringRelationshipObject, and MonitoringClassProperty objects for discovery.
Sets the monitoring property value for each of the objects.
Sets the source and target for the relationship object.
Adds the discovery data to Operations Manager.
Commits the discovery data to Operations Manager over the newly built connector.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

