Get the Connection Properties
First you get the connection information. Read about the GetConnectionInfo method in the FdoIConnection class reference.
Then you get the connection properties. Read about the GetConnectionProperties method in the FdoIConnectionInfo class reference. This method returns a connection property dictionary.
Read about the methods used to access the information in the connection properties dictionary in the FdoIPropertyDictionary class reference. Using these methods you can find out the names of the properties, whether they are optional or mandatory, whether they have default values, their type, whether they are enumerable and, if enumerable, what the set of enumerated values is.