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