PartialMonitoringObject.GetMonitoringDiagnostics 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 diagnostics that are targeted toward this monitoring object, based on all the types of the entity and the base types.
Overloads
GetMonitoringDiagnostics() |
Obsolete.
Gets all the diagnostics targeted toward this monitoring object, based on all the types of the entity and their base types. |
GetMonitoringDiagnostics(ManagementPackDiagnosticCriteria) |
Obsolete.
Gets all the diagnostics targeted toward this monitoring object, based on all the types of the entity and their base types. |
Remarks
Diagnostics can execute only against instances of the class that they are targeted to.
GetMonitoringDiagnostics()
Caution
Use ManagementGroup.Monitoring.GetDiagnostics methods that take this object
Gets all the diagnostics 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::MonitoringDiagnostic ^> ^ GetMonitoringDiagnostics();
[System.Obsolete("Use ManagementGroup.Monitoring.GetDiagnostics methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic> GetMonitoringDiagnostics ();
member this.GetMonitoringDiagnostics : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic>
Public Function GetMonitoringDiagnostics () As ReadOnlyCollection(Of MonitoringDiagnostic)
Returns
A collection of diagnostic objects.
- Attributes
Remarks
Gets all the diagnostics that are targeted toward this monitoring object, based on all the types of the entity and the base types.
Applies to
GetMonitoringDiagnostics(ManagementPackDiagnosticCriteria)
Caution
Use ManagementGroup.Monitoring.GetDiagnostics methods that take this object
Gets all the diagnostics 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::MonitoringDiagnostic ^> ^ GetMonitoringDiagnostics(Microsoft::EnterpriseManagement::Configuration::ManagementPackDiagnosticCriteria ^ criteria);
[System.Obsolete("Use ManagementGroup.Monitoring.GetDiagnostics methods that take this object")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic> GetMonitoringDiagnostics (Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnosticCriteria criteria);
member this.GetMonitoringDiagnostics : Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnosticCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic>
Public Function GetMonitoringDiagnostics (criteria As ManagementPackDiagnosticCriteria) As ReadOnlyCollection(Of MonitoringDiagnostic)
Parameters
- criteria
- ManagementPackDiagnosticCriteria
The criteria of diagnostics to retrieve.
Returns
A collection of diagnostic objects.
- Attributes