CloseSession

Applies to: Excel 2013 | Office 2013 | 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