Share via


ADOAdapter2.Submit method

Executes the submit operation on the associated data adapter.

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 ADOAdapter2

instance.Submit()
void Submit()

Remarks

The submit fails if the SubmitAllowed property is false.

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

ADOAdapter2 interface

ADOAdapter2 members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace