ManagementGroup.GetMonitor(Guid) 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.
Caution
Please use Monitoring.GetMonitor()
Gets a monitor by id.
public:
Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^ GetMonitor(Guid id);
[System.Obsolete("Please use Monitoring.GetMonitor()")]
public Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor GetMonitor (Guid id);
member this.GetMonitor : Guid -> Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor
Public Function GetMonitor (id As Guid) As ManagementPackMonitor
Parameters
- id
- Guid
The id of the requested monitor.
Returns
The monitor.
- Attributes
Exceptions
A ManagementPackMonitor with that id was not found.