IncrementalMonitoringDiscoveryData Class
Definition
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.
Caution
Use IncrementalDiscoveryData
Collect discovery data.
public ref class IncrementalMonitoringDiscoveryData : Microsoft::EnterpriseManagement::ConnectorFramework::IncrementalDiscoveryData
[System.Obsolete("Use IncrementalDiscoveryData")]
public class IncrementalMonitoringDiscoveryData : Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalDiscoveryData
type IncrementalMonitoringDiscoveryData = class
inherit IncrementalDiscoveryData
Public Class IncrementalMonitoringDiscoveryData
Inherits IncrementalDiscoveryData
- Inheritance
-
IncrementalMonitoringDiscoveryData
- Attributes
Examples
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.
Remarks
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 <xref:Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalMonitoringDiscoveryData.Commit%2A> object is called.
Constructors
IncrementalMonitoringDiscoveryData() |
Creates a new instance of the IncrementalMonitoringDiscoveryData class. |