Share via


MonitoringRelationshipClassProperty.GetDiscoverySources Method

Definition

Caution

Use ManagementGroup.Monitoring.GetDiscoverySources

Returns the discovery sources of this class.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDiscovery ^> ^ GetDiscoverySources();
[System.Obsolete("Use ManagementGroup.Monitoring.GetDiscoverySources")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery> GetDiscoverySources ();
override this.GetDiscoverySources : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiscovery>
Public Function GetDiscoverySources () As ReadOnlyCollection(Of MonitoringDiscovery)

Returns

All the discovery objects that discovery this class.

Attributes

Applies to