Compartilhar via


ITaskConfigurationManagement.GetTask Method

Retrieves a task by using an identifier.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ITaskConfigurationManagement
Dim id As Guid
Dim returnValue As ManagementPackTask

returnValue = instance.GetTask(id)

Syntax

'Declaration
Function GetTask ( _
    id As Guid _
) As ManagementPackTask
ManagementPackTask GetTask (
    Guid id
)
ManagementPackTask^ GetTask (
    Guid id
)
ManagementPackTask GetTask (
    Guid id
)
function GetTask (
    id : Guid
) : ManagementPackTask

Parameters

  • id
    The ID of the requested task.

Return Value

Returns ManagementPackTask.

The task.

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

ITaskConfigurationManagement Interface
ITaskConfigurationManagement Members
Microsoft.EnterpriseManagement Namespace