ADOAdapter2.SubmitAllowed property

Returns a value corresponding to the submitAllowed attribute in the form definition file (.xsf).

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

Syntax

'Declaration
ReadOnly Property SubmitAllowed As Boolean
    Get
'Usage
Dim instance As ADOAdapter2
Dim value As Boolean

value = instance.SubmitAllowed
bool SubmitAllowed { get; }

Property value

Type: System.Boolean

Remarks

The default value of the SubmitAllowed property is false, as is the default value for the submitAllowed attribute. If the submitAllowed attribute is set to true, the ADO connection supports submitting data as well as querying.

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