SnapshotMonitoringDiscoveryData Class
Updated: April 16, 2012
Applies To: Operations Manager for System Center 2012
Allows you to collect instances of discovery data objects.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Microsoft.EnterpriseManagement.ConnectorFramework::SnapshotDiscoveryData
Microsoft.EnterpriseManagement.ConnectorFramework::SnapshotMonitoringDiscoveryData
| Name | Description | |
|---|---|---|
![]() | SnapshotMonitoringDiscoveryData() | Initializes a new instance of the SnapshotMonitoringDiscoveryData class. |
| Name | Description | |
|---|---|---|
![]() | Commit(EnterpriseManagementConnector^) | (Inherited from SnapshotDiscoveryData.) |
![]() | Commit(EnterpriseManagementGroup^) | (Inherited from SnapshotDiscoveryData.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Include(EnterpriseManagementObject^) | (Inherited from SnapshotDiscoveryData.) |
![]() | Include(EnterpriseManagementObjectProjection^) | (Inherited from SnapshotDiscoveryData.) |
![]() | Include<T>(EnterpriseManagementRelationshipObject<T>^) | (Inherited from SnapshotDiscoveryData.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Overwrite(EnterpriseManagementConnector^) | (Inherited from SnapshotDiscoveryData.) |
![]() | Overwrite(EnterpriseManagementGroup^) | (Inherited from SnapshotDiscoveryData.) |
![]() | ToString() | (Inherited from Object.) |
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 M:Microsoft.EnterpriseManagement.ConnectorFramework.SnapshotMonitoringDiscoveryData.Commit(Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector) 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.
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

