SPWebApplication.UpdateWorkflowConfigurationSettings Method
SharePoint 2010
Reads the web.config file and copies its content as settings.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No