FairCom Corporation


4.2.3.28 CTBase.SwitchInstance


Syntax

void SwitchInstance ( )

Parameters

This method has no parameters.

Description

Force a switch to the c-tree Plus instace indicated by the Session object. Each session object has its unique c-tree instance id. When most c-treePlus for .NET methods are called, they automatically perform a c-tree instance switch. SwitchInstance may be usefull before calling specific c-tree ISAM or low level calls to make sure the correct instance is active before making those calls. If any errors are detected, a CTException is thrown.

Return

None.


FairCom Corporation
www.faircom.com