ManagementPack.ProcessTemplate 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.
Processes the provided template.
Overloads
ProcessTemplate(ManagementPackTemplate, String) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
ProcessTemplate(ManagementPackTemplate, String, String, String, String) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String) |
Processes the provided template with the given configuration and inserts the results into this management pack by using the folder information. |
ProcessTemplate(ManagementPackTemplate, String)
Processes the provided template with the given configuration and inserts the results into this management pack.
public:
void ProcessTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^ template, System::String ^ configuration);
public void ProcessTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate template, string configuration);
member this.ProcessTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate * string -> unit
Public Sub ProcessTemplate (template As ManagementPackTemplate, configuration As String)
Parameters
- template
- ManagementPackTemplate
The template to process.
- configuration
- String
The configuration for the template.
Applies to
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection)
Processes the provided template with the given configuration and inserts the results into this management pack.
public:
void ProcessTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^ template, System::String ^ configuration, Microsoft::EnterpriseManagement::Configuration::ManagementPackReferenceCollection ^ references);
public void ProcessTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate template, string configuration, Microsoft.EnterpriseManagement.Configuration.ManagementPackReferenceCollection references);
member this.ProcessTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate * string * Microsoft.EnterpriseManagement.Configuration.ManagementPackReferenceCollection -> unit
Public Sub ProcessTemplate (template As ManagementPackTemplate, configuration As String, references As ManagementPackReferenceCollection)
Parameters
- template
- ManagementPackTemplate
The template to process.
- configuration
- String
The configuration for the template.
- references
- ManagementPackReferenceCollection
Additional references defined in the configuration of the template. Optional.
Exceptions
The configuration was not valid for this template.
Processing the template failed. See inner exception for detailed information.
The template or configuration was null
.
This occurs when configuration.Length
= 0
Additional references contained nonvalid references.
Applies to
ProcessTemplate(ManagementPackTemplate, String, String, String, String)
Processes the provided template with the given configuration and inserts the results into this management pack.
public:
Microsoft::EnterpriseManagement::Configuration::ManagementPackFolder ^ ProcessTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^ template, System::String ^ configuration, System::String ^ folderName, System::String ^ folderDisplayName, System::String ^ folderDescription);
public Microsoft.EnterpriseManagement.Configuration.ManagementPackFolder ProcessTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate template, string configuration, string folderName, string folderDisplayName, string folderDescription);
member this.ProcessTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate * string * string * string * string -> Microsoft.EnterpriseManagement.Configuration.ManagementPackFolder
Public Function ProcessTemplate (template As ManagementPackTemplate, configuration As String, folderName As String, folderDisplayName As String, folderDescription As String) As ManagementPackFolder
Parameters
- template
- ManagementPackTemplate
The template to process.
- configuration
- String
The configuration for the template.
- folderName
- String
The folder to put the output in.
- folderDisplayName
- String
The folder’s display name.
- folderDescription
- String
The folder description.
Returns
The management pack output folder.
Exceptions
The configuration was not valid for this template.
Processing the template failed. See inner exception for detailed information.
The template or configuration was null
.
This occurs when configuration.Length
= 0
Additional references contained nonvalid references.
Applies to
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String)
Processes the provided template with the given configuration and inserts the results into this management pack by using the folder information.
public:
Microsoft::EnterpriseManagement::Configuration::ManagementPackFolder ^ ProcessTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^ template, System::String ^ configuration, Microsoft::EnterpriseManagement::Configuration::ManagementPackReferenceCollection ^ references, System::String ^ folderName, System::String ^ folderDisplayName, System::String ^ folderDescription);
public Microsoft.EnterpriseManagement.Configuration.ManagementPackFolder ProcessTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate template, string configuration, Microsoft.EnterpriseManagement.Configuration.ManagementPackReferenceCollection references, string folderName, string folderDisplayName, string folderDescription);
member this.ProcessTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate * string * Microsoft.EnterpriseManagement.Configuration.ManagementPackReferenceCollection * string * string * string -> Microsoft.EnterpriseManagement.Configuration.ManagementPackFolder
Public Function ProcessTemplate (template As ManagementPackTemplate, configuration As String, references As ManagementPackReferenceCollection, folderName As String, folderDisplayName As String, folderDescription As String) As ManagementPackFolder
Parameters
- template
- ManagementPackTemplate
The template to process.
- configuration
- String
The configuration for the template.
- references
- ManagementPackReferenceCollection
Additional references defined in the configuration of the template. Optional.
- folderName
- String
The folder to put the output in.
- folderDisplayName
- String
The folder’s display name.
- folderDescription
- String
The folder description.
Returns
The management pack output folder.
Exceptions
The configuration was not valid for this template.
Processing the template failed. See inner exception for detailed information.
The template or configuration was null
.
This occurs when configuration.Length
= 0
Additional references contained nonvalid references.