Freigeben über


ITaskRuntimeManagement.SubmitTask Method (EnterpriseManagementObject, ManagementPackTask, TaskConfiguration)

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

Submits a task targeted toward this monitoring object.

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

Usage

'Usage
Dim instance As ITaskRuntimeManagement
Dim instance As EnterpriseManagementObject
Dim task As ManagementPackTask
Dim configuration As TaskConfiguration
Dim returnValue As Guid

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

Syntax

'Declaration
Function SubmitTask ( _
    instance As EnterpriseManagementObject, _
    task As ManagementPackTask, _
    configuration As TaskConfiguration _
) As Guid
Guid SubmitTask (
    EnterpriseManagementObject instance,
    ManagementPackTask task,
    TaskConfiguration configuration
)
Guid SubmitTask (
    EnterpriseManagementObject^ instance, 
    ManagementPackTask^ task, 
    TaskConfiguration^ configuration
)
Guid SubmitTask (
    EnterpriseManagementObject instance, 
    ManagementPackTask task, 
    TaskConfiguration configuration
)
function SubmitTask (
    instance : EnterpriseManagementObject, 
    task : ManagementPackTask, 
    configuration : TaskConfiguration
) : Guid

Parameters

  • instance
    The target instance.
  • task
    The task to submit.
  • configuration
    The configuration of the task.

Return Value

Returns Guid.

An ID of the object to track the completion status for this batch.

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

ITaskRuntimeManagement Interface
ITaskRuntimeManagement Members
Microsoft.EnterpriseManagement Namespace