Share via


ComputerHealthService.HeartbeatInterval Property

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

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)

Usage

'Usage
Dim instance As ComputerHealthService
Dim value As SettablePropertyValue(Of Integer)

value = instance.HeartbeatInterval

instance.HeartbeatInterval = value

Syntax

'Declaration
Public Property HeartbeatInterval As SettablePropertyValue(Of Integer)
public SettablePropertyValue<int> HeartbeatInterval { get; set; }
public:
property SettablePropertyValue<int>^ HeartbeatInterval {
    SettablePropertyValue<int>^ get ();
    void set (SettablePropertyValue<int>^ value);
}
/** @property */
public SettablePropertyValue<int> get_HeartbeatInterval ()

/** @property */
public void set_HeartbeatInterval (SettablePropertyValue<int> value)
public function get HeartbeatInterval () : SettablePropertyValue<int>

public function set HeartbeatInterval (value : SettablePropertyValue<int>)

Property Value

Returns a SettablePropertyValue 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.

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

ComputerHealthService Class
ComputerHealthService Members
Microsoft.EnterpriseManagement.Administration Namespace