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.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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.
Remarks
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.