PartialMonitoringObject.ResetMonitoringState 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.
Resets the state of the given monitor for this monitoring object.
Overloads
ResetMonitoringState() |
Resets the state of all the monitors for this monitoring object. |
ResetMonitoringState(ManagementPackMonitor) |
Resets the state of the given monitor for this monitoring object. |
ResetMonitoringState(Guid) |
Resets the state of the given monitor for this monitoring object. |
ResetMonitoringState()
Resets the state of all the monitors for this monitoring object.
public:
Microsoft::EnterpriseManagement::Runtime::TaskResult ^ ResetMonitoringState();
public Microsoft.EnterpriseManagement.Runtime.TaskResult ResetMonitoringState ();
member this.ResetMonitoringState : unit -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function ResetMonitoringState () As TaskResult
Returns
Returns a TaskResult object.
Applies to
ResetMonitoringState(ManagementPackMonitor)
Resets the state of the given monitor for this monitoring object.
public:
Microsoft::EnterpriseManagement::Runtime::TaskResult ^ ResetMonitoringState(Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^ monitor);
public Microsoft.EnterpriseManagement.Runtime.TaskResult ResetMonitoringState (Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor monitor);
member this.ResetMonitoringState : Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function ResetMonitoringState (monitor As ManagementPackMonitor) As TaskResult
Parameters
- monitor
- ManagementPackMonitor
The monitor to reset.
Returns
Returns a TaskResult object.
Exceptions
monitor is null
Applies to
ResetMonitoringState(Guid)
Resets the state of the given monitor for this monitoring object.
public:
Microsoft::EnterpriseManagement::Runtime::TaskResult ^ ResetMonitoringState(Guid monitorId);
public Microsoft.EnterpriseManagement.Runtime.TaskResult ResetMonitoringState (Guid monitorId);
member this.ResetMonitoringState : Guid -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function ResetMonitoringState (monitorId As Guid) As TaskResult
Parameters
- monitorId
- Guid
The monitor to reset.
Returns
Returns a TaskResult object.