ManagementPack.GetTemplates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.