FileSubmitConnection Class (Microsoft.Office.InfoPath)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
The FileSubmitConnection class represents a data connection created in InfoPath using the Data Connection Wizard that specifies all the information necessary for submitting data to a Microsoft Windows SharePoint Services document library or other server that supports DAV connections.
The FileSubmitConnection class provides the Filename property, which returns an XPathTypedValue object that evaluates to the file name that the current form will be given when the form is submitted by the FileSubmitConnection object. It also provides the FolderUrl property, which gets or sets the Uniform Resource Locator (URL) of folder to which the form will be submitted.
In addition to the default Execute method inherited from the DataConnection base class that performs a query operation using the values that were declaratively defined in InfoPath form template design mode, the FileSubmitConnection class also provides the FileSubmitConnection.Execute method, which allows you to specify a different source of data to submit.
The FileSubmitConnection type corresponds to the DAVAdapterObject class of the Microsoft Office InfoPath 2003 object model.