IncrementalMonitoringDiscoveryData Class
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Collects discovery data and merges the existing discovery data with the discovery information provided in the incremental update.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalDiscoveryData
Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalMonitoringDiscoveryData
Syntax
[ObsoleteAttribute("Use IncrementalDiscoveryData")]
public class IncrementalMonitoringDiscoveryData : IncrementalDiscoveryData
[ObsoleteAttribute("Use IncrementalDiscoveryData")]
public ref class IncrementalMonitoringDiscoveryData : IncrementalDiscoveryData
[<ObsoleteAttribute("Use IncrementalDiscoveryData")>]
type IncrementalMonitoringDiscoveryData =
class
inherit IncrementalDiscoveryData
end
<ObsoleteAttribute("Use IncrementalDiscoveryData")>
Public Class IncrementalMonitoringDiscoveryData
Inherits IncrementalDiscoveryData
Constructors
Name | Description | |
---|---|---|
IncrementalMonitoringDiscoveryData() | Creates a new instance of the IncrementalMonitoringDiscoveryData class. |
Methods
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 M:Microsoft.EnterpriseManagement.ConnectorFramework.IncrementalMonitoringDiscoveryData.Commit(Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector) object is called.
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.
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.
See Also
SnapshotMonitoringDiscoveryData
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top