SnapshotMonitoringDiscoveryData Class
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 SnapshotDiscoveryData
Collect discovery data.
public ref class SnapshotMonitoringDiscoveryData : Microsoft::EnterpriseManagement::ConnectorFramework::SnapshotDiscoveryData
[System.Obsolete("Use SnapshotDiscoveryData")]
public class SnapshotMonitoringDiscoveryData : Microsoft.EnterpriseManagement.ConnectorFramework.SnapshotDiscoveryData
type SnapshotMonitoringDiscoveryData = class
inherit SnapshotDiscoveryData
Public Class SnapshotMonitoringDiscoveryData
Inherits SnapshotDiscoveryData
- Inheritance
-
SnapshotMonitoringDiscoveryData
- Attributes
The following example:
Connects to a Management Group.
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
SnapshotMonitoringDiscoveryData
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 the Operation Manager.
Commits the discovery data to the Operation Manager over the newly built connector.
An instance of the SnapshotMonitoringDiscoveryData
class represents a list of monitoring objects and monitoring relationships to add to or remove from Operations Manager.
The Snapshot discovery data replaces all data that was previously discovered by the connector. Any monitoring objects or relationships that were previously discovered but are not included in the instance of SnapshotMonitoringDiscoveryClass
will be removed when <xref:Microsoft.EnterpriseManagement.ConnectorFramework.SnapshotMonitoringDiscoveryData.Commit%2A> is called.
The Snapshot discovery indicates to the system that this is everything it has discovered. The Snapshot discovery effectively deletes anything that was previously discovered and the current discovery is everything that has been discovered. This is all of the discovery data that a connector is aware of.
Snapshot |
Initializes a new instance of the SnapshotMonitoringDiscoveryData class. |
Product | Versions (Obsolete) |
---|---|
System Center OM SDK | (2012, 2016, 2019) |