Do not depend on the code completion feature of Script Editor. In case of doubt consult OTA documentation. TDConnection has customization property which returns customization object.
P.S use the sample code.
P.S use the sample code.