ManagementGroup.GetMonitoringConsoleTask(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.