次の方法で共有


ManagementGroup.GetMonitoringTemplates Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring templates.

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

Syntax

[ObsoleteAttribute("Please use Templates.GetMonitoringTemplates()")]
public ReadOnlyCollection<MonitoringTemplate> GetMonitoringTemplates()
public:
[ObsoleteAttribute("Please use Templates.GetMonitoringTemplates()")]
ReadOnlyCollection<MonitoringTemplate^>^ GetMonitoringTemplates()
[<ObsoleteAttribute("Please use Templates.GetMonitoringTemplates()")>]
member GetMonitoringTemplates : unit -> ReadOnlyCollection<MonitoringTemplate>
<ObsoleteAttribute("Please use Templates.GetMonitoringTemplates()")>
Public Function GetMonitoringTemplates As ReadOnlyCollection(Of MonitoringTemplate)

Return Value

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

Returns aReadOnlyCollection<T>object ofMonitoringTemplate objects.

See Also

GetMonitoringTemplates Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top