ManagementGroup.GetMonitoringTaskResults Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of task results that have the specified GUID.

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

Syntax

[ObsoleteAttribute("Please use TaskRuntime.GetTaskResults()")]
public ReadOnlyCollection<MonitoringTaskResult> GetMonitoringTaskResults(
    Guid batchId
)
public:
[ObsoleteAttribute("Please use TaskRuntime.GetTaskResults()")]
ReadOnlyCollection<MonitoringTaskResult^>^ GetMonitoringTaskResults(
    Guid batchId
)
[<ObsoleteAttribute("Please use TaskRuntime.GetTaskResults()")>]
member GetMonitoringTaskResults : 
        batchId:Guid -> ReadOnlyCollection<MonitoringTaskResult>
<ObsoleteAttribute("Please use TaskRuntime.GetTaskResults()")>
Public Function GetMonitoringTaskResults (
    batchId As Guid
) As ReadOnlyCollection(Of MonitoringTaskResult)

Parameters

  • batchId
    Type: System.Guid

    The GUID for the task results to get.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringTaskResult>

Returns aReadOnlyCollection<T> object ofMonitoringTaskResult objects.

See Also

GetMonitoringTaskResults Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top