Compartilhar via


ComputerHealthService.HeartbeatInterval Property

 

Applies To: Operations Manager for System Center 2012

Gets or sets a value that indicates the number of seconds between heartbeats generated by the health service.

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

Syntax

public SettablePropertyValue<int> HeartbeatInterval { get; set; }
public:
property SettablePropertyValue<int>^ HeartbeatInterval {
    SettablePropertyValue<int>^ get();
    void set(SettablePropertyValue<int>^ value);
}
member HeartbeatInterval : SettablePropertyValue<int> with get, set
Public Property HeartbeatInterval As SettablePropertyValue(Of Integer)

Property Value

Type: Microsoft.EnterpriseManagement.Administration.SettablePropertyValue<Int32>

Returns a SettablePropertyValue<T> whose integer Value member indicates the number of seconds between heartbeats sent by the health service.

Remarks

The health service only sends heartbeats if they are enabled.

After changing this value, call the ApplyChanges method to update the Operations Manager database.

See Also

ComputerHealthService Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top