Share via


MonitoringRelationshipObject.GetDiscoverySources Method

Definition

Caution

Use ManagementGroup.Monitoring.GetDiscoverySources

Gets the class for this relationship.

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

Returns

The MonitoringRelationshipClass

Attributes

Applies to