SubmitToHostAdapter.QueryAllowed property

The QueryAllowed property is available for the SubmitToHostAdapter object but, because the SubmitToHostAdapter object is available for submitting data only, the property always returns false.

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

Syntax

'Declaration
ReadOnly Property QueryAllowed As Boolean
    Get
'Usage
Dim instance As SubmitToHostAdapter
Dim value As Boolean

value = instance.QueryAllowed
bool QueryAllowed { get; }

Property value

Type: System.Boolean
Because the SubmitToHostAdapter object is available for submitting data only, the property always returns false.

See also

Reference

SubmitToHostAdapter interface

SubmitToHostAdapter members

Microsoft.Office.Interop.InfoPath namespace