Share via


ITaskRuntimeManagement.SubmitTask Method (IEnumerable, ManagementPackTask, TaskConfiguration, TaskStatusChangeCallback)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)

Usage

'Usage
Dim instance As ITaskRuntimeManagement
Dim targets As IEnumerable(Of T)
Dim task As ManagementPackTask
Dim configuration As TaskConfiguration
Dim callback As TaskStatusChangeCallback
Dim returnValue As Guid

returnValue = instance.SubmitTask(targets, task, configuration, callback)

Syntax

'Declaration
Function SubmitTask(Of T As EnterpriseManagementObject) ( _
    targets As IEnumerable(Of T), _
    task As ManagementPackTask, _
    configuration As TaskConfiguration, _
    callback As TaskStatusChangeCallback _
) As Guid
Guid SubmitTask<T> (
    IEnumerable<T> targets,
    ManagementPackTask task,
    TaskConfiguration configuration,
    TaskStatusChangeCallback callback
) where T : EnterpriseManagementObject
generic<typename T> where T : EnterpriseManagementObject
Guid SubmitTask (
    IEnumerable<T>^ targets, 
    ManagementPackTask^ task, 
    TaskConfiguration^ configuration, 
    TaskStatusChangeCallback^ callback
)

GenericParameters

  • T

Parameters

  • targets
  • task
  • configuration
  • callback

Return Value

Returns Guid.

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