Share via


ManagementGroup.GetMonitoringRecoveries Method

Definition

Retrieves monitoring recovery objects.

Overloads

GetMonitoringRecoveries()
Obsolete.

Gets recoveries.

GetMonitoringRecoveries(ManagementPackRecoveryCriteria)
Obsolete.

Gets recoveries based on criteria.

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

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

GetMonitoringRecoveries<T>(ManagementPackRecoveryCriteria, ICollection<T>)
Obsolete.

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

GetMonitoringRecoveries()

Caution

Please use Monitoring.GetRecoveries()

Gets recoveries.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRecovery ^> ^ GetMonitoringRecoveries();
[System.Obsolete("Please use Monitoring.GetRecoveries()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> GetMonitoringRecoveries ();
member this.GetMonitoringRecoveries : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery>
Public Function GetMonitoringRecoveries () As ReadOnlyCollection(Of MonitoringRecovery)

Returns

A collection of recoveries that match the criteria.

Attributes

Applies to

GetMonitoringRecoveries(ManagementPackRecoveryCriteria)

Caution

Please use Monitoring.GetRecoveries()

Gets recoveries based on criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRecovery ^> ^ GetMonitoringRecoveries(Microsoft::EnterpriseManagement::Configuration::ManagementPackRecoveryCriteria ^ criteria);
[System.Obsolete("Please use Monitoring.GetRecoveries()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> GetMonitoringRecoveries (Microsoft.EnterpriseManagement.Configuration.ManagementPackRecoveryCriteria criteria);
member this.GetMonitoringRecoveries : Microsoft.EnterpriseManagement.Configuration.ManagementPackRecoveryCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery>
Public Function GetMonitoringRecoveries (criteria As ManagementPackRecoveryCriteria) As ReadOnlyCollection(Of MonitoringRecovery)

Parameters

criteria
ManagementPackRecoveryCriteria

The criteria.

Returns

A collection of recoveries that match the criteria.

Attributes

Applies to

GetMonitoringRecoveries<T>(ICollection<T>)

Caution

Please use Monitoring.GetRecoveries<T>()

Gets all the recoveries 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::MonitoringRecovery ^> ^ GetMonitoringRecoveries(System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Monitoring.GetRecoveries<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> GetMonitoringRecoveries<T> (System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringRecoveries : System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringRecoveries(Of T As PartialMonitoringObject) (monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringRecovery)

Type Parameters

T

Must be of type PartialMonitoringObject

Parameters

monitoringObjects
ICollection<T>

The recovery objects that target these specified monitoring object instances.

Returns

A collection of MonitoringRecovery objects.

Attributes

Exceptions

monitoringObjects is null

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

Applies to

GetMonitoringRecoveries<T>(ManagementPackRecoveryCriteria, ICollection<T>)

Caution

Please use Monitoring.GetRecoveries<T>()

Gets all the recoveries 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::MonitoringRecovery ^> ^ GetMonitoringRecoveries(Microsoft::EnterpriseManagement::Configuration::ManagementPackRecoveryCriteria ^ criteria, System::Collections::Generic::ICollection<T> ^ monitoringObjects);
[System.Obsolete("Please use Monitoring.GetRecoveries<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> GetMonitoringRecoveries<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackRecoveryCriteria criteria, System.Collections.Generic.ICollection<T> monitoringObjects) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.GetMonitoringRecoveries : Microsoft.EnterpriseManagement.Configuration.ManagementPackRecoveryCriteria * System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function GetMonitoringRecoveries(Of T As PartialMonitoringObject) (criteria As ManagementPackRecoveryCriteria, monitoringObjects As ICollection(Of T)) As ReadOnlyCollection(Of MonitoringRecovery)

Type Parameters

T

Must be of type PartialMonitoringObject.

Parameters

criteria
ManagementPackRecoveryCriteria

A value that specifies the kind of monitoring recovery objects.

monitoringObjects
ICollection<T>

The recovery objects that target these specified monitoring object instances.

Returns

A collection of MonitoringRecovery objects.

Attributes

Exceptions

monitoringObjects is null

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

Applies to