SharepointListAdapter2.Submit Method

Available for the SharepointListAdapterObject, but, because SharePointListAdapter object can only receive data, this method will always generate a run-time error when it is called on that object.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Sub Submit
'Usage
Dim instance As SharepointListAdapter2

instance.Submit()
void Submit()

Implements

SharepointListAdapter.Submit()

Remarks

To submit form data to a SharePoint list or library, use the Submit method of the DAVAdapterObject object instead of this method.

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See Also

Reference

SharepointListAdapter2 Interface

SharepointListAdapter2 Members

Submit Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace