Converts the current connection into its XML representation.
The content is written in XML format with the root element being called ExFTPConnection and each property having an XML element of the same name.
Note that connections can be written directly to files and streams using the methods Save and Save, respectively.