Share via


IRtdServer.Heartbeat Method

Determines if the real-time data server is still active. Zero or a negative number indicates failure; a positive number indicates that the server is active.

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

Syntax

'Declaration
Function Heartbeat As Integer
'Usage
Dim instance As IRtdServer
Dim returnValue As Integer

returnValue = instance.Heartbeat()
int Heartbeat()

Return Value

Type: System.Int32

Remarks

The Heartbeat method is called by Microsoft Excel if the HeartbeatInterval property has elapsed since the last time Excel was called with the UpdateNotify method.

See Also

Reference

IRtdServer Interface

IRtdServer Members

Microsoft.Office.Interop.Excel Namespace