Partager via


PartialMonitoringObject.GetDiscoverySources Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets the discovery sources for the monitoring object.

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

Syntax

[ObsoleteAttribute("Use ManagementGroup.Monitoring equivalent methods that take this object as a parameter")]
public ReadOnlyCollection<MonitoringObjectDiscoverySource> GetDiscoverySources()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring equivalent methods that take this object as a parameter")]
ReadOnlyCollection<MonitoringObjectDiscoverySource^>^ GetDiscoverySources()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring equivalent methods that take this object as a parameter")>]
member GetDiscoverySources : unit -> ReadOnlyCollection<MonitoringObjectDiscoverySource>
<ObsoleteAttribute("Use ManagementGroup.Monitoring equivalent methods that take this object as a parameter")>
Public Function GetDiscoverySources As ReadOnlyCollection(Of MonitoringObjectDiscoverySource)

Return Value

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

Returns a read-only collection of ReadOnlyCollection<T> objects.

See Also

PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top