The SetToolParameters method is called immediately after the metadata adapter object is created. This passes to the metadata adapter any parameters stored for that tool in the SmartPlant repository. The metadata adapter can use these tool parameters to assist in subsequent operations (such as Connecting to the application data store).
In addition to passing the tool parameters, this method also passes the SmartPlant Foundation URL and the Plant name.