Compartilhar via


MonitoringRelationshipObject.GetDiscoverySources Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets a collection of MonitoringRelationshipObjectDiscoverySource objects that are the discovery sources for the relationship.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoverySources")]
public ReadOnlyCollection<MonitoringRelationshipObjectDiscoverySource> GetDiscoverySources()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoverySources")]
ReadOnlyCollection<MonitoringRelationshipObjectDiscoverySource^>^ GetDiscoverySources()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoverySources")>]
member GetDiscoverySources : unit -> ReadOnlyCollection<MonitoringRelationshipObjectDiscoverySource>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiscoverySources")>
Public Function GetDiscoverySources As ReadOnlyCollection(Of MonitoringRelationshipObjectDiscoverySource)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObjectDiscoverySource>

Returns a ReadOnlyCollection<T> of MonitoringRelationshipObjectDiscoverySource objects that are the discovery sources for the relationship.

See Also

MonitoringRelationshipObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top