ManagementPack.GetTemplate(String) 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 the specified template from the management pack.
public:
Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^ GetTemplate(System::String ^ name);
public Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate GetTemplate (string name);
member this.GetTemplate : string -> Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate
Public Function GetTemplate (name As String) As ManagementPackTemplate
Parameters
- name
- String
The name of the monitoring template.
Returns
The specified template.
Remarks
Use templates to create monitoring objects for common applications or services.