IMonitoringConfigurationManagement.GetMonitors 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 all monitors.
Overloads
GetMonitors() |
Retrieves all monitors. |
GetMonitors(ManagementPackMonitorCriteria) |
Retrieves all monitors based on the criteria. |
GetMonitors()
Retrieves all monitors.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ GetMonitors();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> GetMonitors ();
abstract member GetMonitors : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor>
Public Function GetMonitors () As IList(Of ManagementPackMonitor)
Returns
Returns IList<T>.
All monitors.
Applies to
GetMonitors(ManagementPackMonitorCriteria)
Retrieves all monitors based on the criteria.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ GetMonitors(Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitorCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> GetMonitors (Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorCriteria criteria);
abstract member GetMonitors : Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor>
Public Function GetMonitors (criteria As ManagementPackMonitorCriteria) As IList(Of ManagementPackMonitor)
Parameters
- criteria
- ManagementPackMonitorCriteria
The search criteria.
Returns
Returns IList<T>.
All monitors based on the criteria.