Share via


CloseSession

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

Ends a session with a cluster.

int CloseSession(int SessionId)

Parameters

  • SessionId
    The ID of the session to close. This value must match the value returned by OpenSession.

Return Value

xlHpcRetSuccess if the session closed; xlHpcRetInvalidSessionId if the SessionId argument is invalid; xlHpcRetCallFailed on other failures.

See Also

Reference

OpenSession

Concepts

Excel Cluster Connector Functions