Share via


ManagementPack.GetMonitors Method

Definition

Retrieves all monitors that are contained in the management pack.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ GetMonitors();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> GetMonitors ();
member this.GetMonitors : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor>
Public Function GetMonitors () As ManagementPackElementCollection(Of ManagementPackMonitor)

Returns

A collection of all monitors in the management pack.

Applies to