Share via


ManagementGroup.GetMonitoringConsoleTask(Guid) Method

Definition

Caution

Please use TaskConfiguration.GetConsoleTask()

Gets a console task by id.

public:
 Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^ GetMonitoringConsoleTask(Guid id);
[System.Obsolete("Please use TaskConfiguration.GetConsoleTask()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask GetMonitoringConsoleTask (Guid id);
member this.GetMonitoringConsoleTask : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask
Public Function GetMonitoringConsoleTask (id As Guid) As MonitoringConsoleTask

Parameters

id
Guid

The id of the requested task.

Returns

The task.

Attributes

Exceptions

A MonitoringConsoleTask with that id was not found.

Applies to