MonitoringClass.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.
Retrieves tasks that target this monitoring class.
Overloads
GetMonitoringConsoleTasks() |
Obsolete.
Gets all the tasks targeted toward this type. |
GetMonitoringConsoleTasks(BaseClassTraversalDepth) |
Obsolete.
Gets all the tasks targeted toward this type. |
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria) |
Obsolete.
Gets all the tasks targeted toward this type. |
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria, BaseClassTraversalDepth) |
Obsolete.
Gets all the tasks targeted toward this type. |
GetMonitoringConsoleTasks()
Caution
Use ManagementGroup.TaskConfiguration.GetConsoleTasks
Gets all the tasks targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks();
[System.Obsolete("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")]
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
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringConsoleTasks(BaseClassTraversalDepth)
Caution
Use ManagementGroup.TaskConfiguration.GetConsoleTasks
Gets all the tasks targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks (Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringConsoleTasks : Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask>
Public Function GetMonitoringConsoleTasks (baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringConsoleTask)
Parameters
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the MonitoringConsoleTask.
Returns
A collection of task objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria)
Caution
Use ManagementGroup.TaskConfiguration.GetConsoleTasks
Gets all the tasks targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTaskCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")]
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 to apply to the tasks.
Returns
A collection of task objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
Applies to
GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria, BaseClassTraversalDepth)
Caution
Use ManagementGroup.TaskConfiguration.GetConsoleTasks
Gets all the tasks targeted toward this type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTaskCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::BaseClassTraversalDepth baseClassTraversalDepth);
[System.Obsolete("Use ManagementGroup.TaskConfiguration.GetConsoleTasks")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks (Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria criteria, Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth baseClassTraversalDepth);
member this.GetMonitoringConsoleTasks : Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria * Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask>
Public Function GetMonitoringConsoleTasks (criteria As ManagementPackConsoleTaskCriteria, baseClassTraversalDepth As BaseClassTraversalDepth) As ReadOnlyCollection(Of MonitoringConsoleTask)
Parameters
- criteria
- ManagementPackConsoleTaskCriteria
The criteria to apply to the tasks.
- baseClassTraversalDepth
- BaseClassTraversalDepth
Indicates whether or not to include this classes base classes as targets for the MonitoringConsoleTask.
Returns
A collection of task objects.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.