PartialMonitoringObject.GetMonitoringConsoleTasks 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.
Gets all the tasks that are targeted toward this monitoring object, based on all the types of the entity and the base types.
Overloads
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria) |
Obsolete.
Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types. |
GetMonitoringConsoleTasks() |
Obsolete.
Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types. |
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria)
Caution
Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object
Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTaskCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks (Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria criteria);
member this.GetMonitoringConsoleTasks : Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask>
Public Function GetMonitoringConsoleTasks (criteria As ManagementPackConsoleTaskCriteria) As ReadOnlyCollection(Of MonitoringConsoleTask)
Parameters
- criteria
- ManagementPackConsoleTaskCriteria
The criteria of tasks to retrieve.
Returns
A collection of task objects.
- Attributes
Applies to
GetMonitoringConsoleTasks()
Caution
Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object
Gets all the tasks targeted toward this monitoring object, based on all the types of the entity and their base types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks();
[System.Obsolete("Use ManagementGroup.Runtime.TaskConfiguration.GetConsoleTasks methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks ();
member this.GetMonitoringConsoleTasks : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask>
Public Function GetMonitoringConsoleTasks () As ReadOnlyCollection(Of MonitoringConsoleTask)
Returns
A collection of task objects.
- Attributes
Remarks
Management packs include tasks that perform useful commands on the items that the management pack is designed to monitor and manage. This method gets the tasks that are associated with the [GetMonitoringConsoleTasks]() object