ITaskRuntimeManagement.ExecuteTask Method (EnterpriseManagementObject, ManagementPackTask, TaskConfiguration)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Executes a task.
Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)
Usage
'Usage
Dim instance As ITaskRuntimeManagement
Dim instance As EnterpriseManagementObject
Dim task As ManagementPackTask
Dim configuration As TaskConfiguration
Dim returnValue As IList(Of TaskResult)
returnValue = instance.ExecuteTask(instance, task, configuration)
Syntax
'Declaration
Function ExecuteTask ( _
instance As EnterpriseManagementObject, _
task As ManagementPackTask, _
configuration As TaskConfiguration _
) As IList(Of TaskResult)
IList<TaskResult> ExecuteTask (
EnterpriseManagementObject instance,
ManagementPackTask task,
TaskConfiguration configuration
)
IList<TaskResult^>^ ExecuteTask (
EnterpriseManagementObject^ instance,
ManagementPackTask^ task,
TaskConfiguration^ configuration
)
IList<TaskResult> ExecuteTask (
EnterpriseManagementObject instance,
ManagementPackTask task,
TaskConfiguration configuration
)
function ExecuteTask (
instance : EnterpriseManagementObject,
task : ManagementPackTask,
configuration : TaskConfiguration
) : IList<TaskResult>
Parameters
- instance
The target instance.
- task
The task to submit.
- configuration
The configuration of the task.
Return Value
Returns IList.
The task results.
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
See Also
Reference
ITaskRuntimeManagement Interface
ITaskRuntimeManagement Members
Microsoft.EnterpriseManagement.Runtime Namespace