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