AFDatabase.Connect() & PISystem.Connect() methods

Discussion created by ChewCheeLim on Sep 12, 2014
Latest reply on Sep 17, 2014 by MBanchuzhnyy
Hi There, To connect to AFDatabase or PISystem Object, Connect() method doesn't need to call explicitly, it looks like sdk will make connection behind the scene. Is this recommended to call .Connect() method explicitly in code? and Call Disconnect() method if there is one when done? Any advice is greatly appreciated. e.g. code is working..                PISystems piSystemLibs = new PISystems();                PISystem oSystem = piSystemLibs[sServerName];