Share via


MonitoringState.Reset Method (Int32)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Resets the state of the monitor for the monitoring object with a specified timeout time.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringState
Dim millisecondsTimeout As Integer
Dim returnValue As TaskResult

returnValue = instance.Reset(millisecondsTimeout)

Syntax

'Declaration
Public Function Reset ( _
    millisecondsTimeout As Integer _
) As TaskResult
public TaskResult Reset (
    int millisecondsTimeout
)
public:
TaskResult^ Reset (
    int millisecondsTimeout
)
public TaskResult Reset (
    int millisecondsTimeout
)
public function Reset (
    millisecondsTimeout : int
) : TaskResult

Parameters

  • millisecondsTimeout
    The amount of time, in milliseconds, to wait for a timeout during the reset.

Return Value

A TaskResult object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringState Class
MonitoringState Members
Microsoft.EnterpriseManagement.Monitoring Namespace