Share via


ITaskRuntimeManagement.GetTaskResults Method (TaskResultCriteria, ManagementPackClass)

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

Retrieves all the TaskResult objects in the management group that match the criteria

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

Usage

'Usage
Dim instance As ITaskRuntimeManagement
Dim criteria As TaskResultCriteria
Dim managementPackClass As ManagementPackClass
Dim returnValue As IList(Of TaskResult)

returnValue = instance.GetTaskResults(criteria, managementPackClass)

Syntax

'Declaration
Function GetTaskResults ( _
    criteria As TaskResultCriteria, _
    managementPackClass As ManagementPackClass _
) As IList(Of TaskResult)
IList<TaskResult> GetTaskResults (
    TaskResultCriteria criteria,
    ManagementPackClass managementPackClass
)
IList<TaskResult^>^ GetTaskResults (
    TaskResultCriteria^ criteria, 
    ManagementPackClass^ managementPackClass
)
IList<TaskResult> GetTaskResults (
    TaskResultCriteria criteria, 
    ManagementPackClass managementPackClass
)
function GetTaskResults (
    criteria : TaskResultCriteria, 
    managementPackClass : ManagementPackClass
) : IList<TaskResult>

Parameters

  • criteria
    The search criteria.
  • managementPackClass
    The base class that all tasks should be targeted to for their results to be returned.

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