ManagementPack.ProcessMonitoringTemplate Method (ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String)
Processes the specified template that has the specified configuration and references and inserts the results into the management pack in the specified folder.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As ManagementPack
Dim template As ManagementPackTemplate
Dim configuration As String
Dim references As ManagementPackReferenceCollection
Dim folderName As String
Dim folderDisplayName As String
Dim folderDescription As String
Dim returnValue As ManagementPackFolder
returnValue = instance.ProcessMonitoringTemplate(template, configuration, references, folderName, folderDisplayName, folderDescription)
Syntax
'Declaration
Public Function ProcessMonitoringTemplate ( _
template As ManagementPackTemplate, _
configuration As String, _
references As ManagementPackReferenceCollection, _
folderName As String, _
folderDisplayName As String, _
folderDescription As String _
) As ManagementPackFolder
public ManagementPackFolder ProcessMonitoringTemplate (
ManagementPackTemplate template,
string configuration,
ManagementPackReferenceCollection references,
string folderName,
string folderDisplayName,
string folderDescription
)
public:
ManagementPackFolder^ ProcessMonitoringTemplate (
ManagementPackTemplate^ template,
String^ configuration,
ManagementPackReferenceCollection^ references,
String^ folderName,
String^ folderDisplayName,
String^ folderDescription
)
public ManagementPackFolder ProcessMonitoringTemplate (
ManagementPackTemplate template,
String configuration,
ManagementPackReferenceCollection references,
String folderName,
String folderDisplayName,
String folderDescription
)
public function ProcessMonitoringTemplate (
template : ManagementPackTemplate,
configuration : String,
references : ManagementPackReferenceCollection,
folderName : String,
folderDisplayName : String,
folderDescription : String
) : ManagementPackFolder
Parameters
- template
The template to process.
- configuration
Configuration data for the template.
- references
Specifies any references that are defined in the template configuration data.
- folderName
The folder to put the output in.
- folderDisplayName
The display name of the returned folder.
- folderDescription
The description of the returned folder.
Return Value
A ManagementPackFolder object.
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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP
See Also
Reference
ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace