PingSession

Applies to: Excel 2010 | Office 2010 | VBA | Visual Studio

Checks whether a session is valid. This function is typically called when Excel needs to determine if a previously returned session ID is still active and can be used.

int PingSession(int SessionId)

Parameters

  • SessionID
    The ID of the session to ping. This value must match an ID returned by a previous call to OpenSession.

Return Value

xlHpcRetSuccess if the SessionId argument is valid; otherwise xlHpcRetInvalidSessionId.

See Also

Reference

OpenSession

Concepts

Excel Cluster Connector Functions