ManagementPack.ProcessTemplate Method (ManagementPackTemplate, String, String, String, String)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Processes the provided template with the given configuration and inserts the results into this management pack.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ManagementPack
Dim template As ManagementPackTemplate
Dim configuration As String
Dim folderName As String
Dim folderDisplayName As String
Dim folderDescription As String
Dim returnValue As ManagementPackFolder
returnValue = instance.ProcessTemplate(template, configuration, folderName, folderDisplayName, folderDescription)
Syntax
'Declaration
Public Function ProcessTemplate ( _
template As ManagementPackTemplate, _
configuration As String, _
folderName As String, _
folderDisplayName As String, _
folderDescription As String _
) As ManagementPackFolder
public ManagementPackFolder ProcessTemplate (
ManagementPackTemplate template,
string configuration,
string folderName,
string folderDisplayName,
string folderDescription
)
public:
ManagementPackFolder^ ProcessTemplate (
ManagementPackTemplate^ template,
String^ configuration,
String^ folderName,
String^ folderDisplayName,
String^ folderDescription
)
public ManagementPackFolder ProcessTemplate (
ManagementPackTemplate template,
String configuration,
String folderName,
String folderDisplayName,
String folderDescription
)
public function ProcessTemplate (
template : ManagementPackTemplate,
configuration : String,
folderName : String,
folderDisplayName : String,
folderDescription : String
) : ManagementPackFolder
Parameters
- template
The template to process.
- configuration
The configuration for the template.
- folderName
The folder to put the output in.
- folderDisplayName
The folder’s display name.
- folderDescription
The folder description.
Return Value
The management pack output folder.
Exceptions
Exception type | Condition |
---|---|
XmlSchemaException | The configuration was not valid for this template. |
Exception | Processing the template failed. See inner exception for detailed information. |
ArgumentNullException | The template or configuration was null. |
ArgumentOutOfRangeException | This occurs when configuration.Length = 0 |
ArgumentException | Additional references contained nonvalid references. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace