EmailSubmitConnection Class (Microsoft.Office.InfoPath)
Represents the data connection for submitting form information in e-mail.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
Public MustInherit Class EmailSubmitConnection
Inherits DataConnection
'Usage
Dim instance As EmailSubmitConnection
public abstract class EmailSubmitConnection : DataConnection
Remarks
The EmailSubmitConnection class represents a data connection created in InfoPath using the Data Connection Wizard that specifies all the information necessary for submitting a form in e-mail.
Use the Item property of the DataConnectionCollection collection to return an EmailSubmitConnection object.
The values of most of the properties of the EmailSubmitConnection class are returned as XPathTypedValue objects, which can be set by specifying a literal string value using the SetStringValue method of the XPathTypedValue class, or by specifying an XPath expression using the XPath property of the XPathTypedValue class. For more information and code samples, see the XPathTypedValue Class topic.
The EmailSubmitConnection class corresponds to the EmailAdapterObject interface of the Microsoft Office InfoPath 2003 object model.
Inheritance Hierarchy
System.Object
Microsoft.Office.InfoPath.DataConnection
Microsoft.Office.InfoPath.EmailSubmitConnection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
EmailSubmitConnection Members
Microsoft.Office.InfoPath Namespace