Share via


ManagementGroup.GetMonitoringConsoleTasks Method

Definition

Retrieves a collection of console tasks from the management group.

Overloads

GetMonitoringConsoleTasks()
Obsolete.

Gets console tasks.

GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria)
Obsolete.

Gets console tasks based on criteria.

GetMonitoringConsoleTasks<T>(ManagementPackConsoleTaskCriteria, ICollection<T>)
Obsolete.

Gets all the console tasks in this management group targeted to any of these instances.

GetMonitoringConsoleTasks<T>(ICollection<T>)
Obsolete.

Gets all the console tasks in this management group targeted to any of these instances.

GetMonitoringConsoleTasks()

Caution

Please use TaskConfiguration.GetConsoleTasks()

Gets console tasks.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks();
[System.Obsolete("Please use 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 console tasks that match the criteria.

Attributes

Applies to

GetMonitoringConsoleTasks(ManagementPackConsoleTaskCriteria)

Caution

Please use TaskConfiguration.GetConsoleTasks()

Gets console tasks based on criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTaskCriteria ^ criteria);
[System.Obsolete("Please use 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.

Returns

A collection of console tasks that match the criteria.

Attributes

Applies to

GetMonitoringConsoleTasks<T>(ManagementPackConsoleTaskCriteria, ICollection<T>)

Caution

Please use TaskConfiguration.GetConsoleTasks<T>()

Gets all the console tasks in this management group targeted to any of these instances.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(Microsoft::EnterpriseManagement::Configuration::ManagementPackConsoleTaskCriteria ^ criteria, System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use TaskConfiguration.GetConsoleTasks<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria criteria, System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringConsoleTasks : Microsoft.EnterpriseManagement.Configuration.ManagementPackConsoleTaskCriteria * System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringConsoleTasks(Of T As PartialMonitoringObject) (criteria As ManagementPackConsoleTaskCriteria, monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringConsoleTask)

Type Parameters

T

Must be of type PartialMonitoringObject.

Parameters

criteria
ManagementPackConsoleTaskCriteria

The criteria

monitoringObjects
ICollection<T>

The monitoring objects.

Returns

A collection of MonitoringConsoleTask objects.

Attributes

Exceptions

monitoringObjects is null

There was invalid data in the database corresponding to this method call.

Applies to

GetMonitoringConsoleTasks<T>(ICollection<T>)

Caution

Please use TaskConfiguration.GetConsoleTasks<T>()

Gets all the console tasks in this management group targeted to any of these instances.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringConsoleTask ^> ^ GetMonitoringConsoleTasks(System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use TaskConfiguration.GetConsoleTasks<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> GetMonitoringConsoleTasks<T> (System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringConsoleTasks : System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringConsoleTask> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringConsoleTasks(Of T As PartialMonitoringObject) (monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringConsoleTask)

Type Parameters

T

Must be of type PartialMonitoringObject

Parameters

monitoringObjects
ICollection<T>

The monitoring objects.

Returns

A collection of MonitoringConsoleTask objects.

Attributes

Exceptions

monitoringObjects is null

There was invalid data in the database corresponding to this method call.

Applies to