Share via


MonitoringState.Reset Method (Int32)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public TaskResult Reset(
    int millisecondsTimeout
)
public:
TaskResult^ Reset(
    int millisecondsTimeout
)
member Reset : 
        millisecondsTimeout:int -> TaskResult
Public Function Reset (
    millisecondsTimeout As Integer
) As TaskResult

Parameters

  • millisecondsTimeout
    Type: System.Int32

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

Return Value

Type: Microsoft.EnterpriseManagement.Runtime.TaskResult

A TaskResult object.

See Also

Reset Overload
MonitoringState Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top