FBXExportInputConnections -v [true|false];
Use this function to query the current value of the input connection option. The function returns 0 for False, and 1 for True.
Use this function with the FBXExport -f [filename][s] script if you are performing an export of selected objects. Set False so that the input connections to selected objects are not considered during export. The default value for this command is True, which makes the plug-in include all the objects that influence the selected ones.
This is the script equivalent of the Connections option in the UI.