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