Compartilhar via


IRTDUpdateEvent.HeartbeatInterval Property

Returns or sets an Integer for the interval between updates for real-time data. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property HeartbeatInterval As Integer
    Get
    Set
'Usage
Dim instance As IRTDUpdateEvent
Dim value As Integer

value = instance.HeartbeatInterval

instance.HeartbeatInterval = value
int HeartbeatInterval { get; set; }

Property Value

Type: System.Int32

Remarks

Setting the HeartbeatInterval property to -1 will result in the Heartbeat method not being called.

Note The heartbeat interval cannot be set below 15,000 milliseconds due to the standard 15-second time out.

See Also

Reference

IRTDUpdateEvent Interface

IRTDUpdateEvent Members

Microsoft.Office.Interop.Excel Namespace