MonitoringState.Reset 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 monitor for the monitoring object.
Overloads
Reset() |
Resets the state of the given monitor for this monitoring object. |
Reset(Int32) |
Resets the state of the given monitor for this monitoring object. |
Reset()
Resets the state of the given monitor for this monitoring object.
public:
Microsoft::EnterpriseManagement::Runtime::TaskResult ^ Reset();
public Microsoft.EnterpriseManagement.Runtime.TaskResult Reset ();
member this.Reset : unit -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function Reset () As TaskResult
Returns
A TaskResult object.
Applies to
Reset(Int32)
Resets the state of the given monitor for this monitoring object.
public:
Microsoft::EnterpriseManagement::Runtime::TaskResult ^ Reset(int millisecondsTimeout);
public Microsoft.EnterpriseManagement.Runtime.TaskResult Reset (int millisecondsTimeout);
member this.Reset : int -> Microsoft.EnterpriseManagement.Runtime.TaskResult
Public Function Reset (millisecondsTimeout As Integer) As TaskResult
Parameters
- millisecondsTimeout
- Int32
The timeout in milliseconds.
Returns
A TaskResult object.