Share via


ManagementGroup.GetMonitoringTemplate(Guid) Method

Definition

Caution

Please use Templates.GetMonitoringTemplate()

Gets a template by id.

public:
 Microsoft::EnterpriseManagement::Configuration::MonitoringTemplate ^ GetMonitoringTemplate(Guid id);
[System.Obsolete("Please use Templates.GetMonitoringTemplate()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringTemplate GetMonitoringTemplate (Guid id);
member this.GetMonitoringTemplate : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringTemplate
Public Function GetMonitoringTemplate (id As Guid) As MonitoringTemplate

Parameters

id
Guid

The id of the requested template.

Returns

The template.

Attributes

Exceptions

A MonitoringTemplate with that id was not found.

Applies to