Share via


ManagementPack.GetTemplates Method

Definition

Retrieves all templates that are contained in the management pack.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^> ^ GetTemplates();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate> GetTemplates ();
member this.GetTemplates : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate>
Public Function GetTemplates () As ManagementPackElementCollection(Of ManagementPackTemplate)

Returns

A collection of all templates in the management pack.

Remarks

Use templates to create monitoring objects for common applications or services.

Applies to