Share via


WebServiceAdapter2.QueryAllowed property

Corresponds to the queryAllowed 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 QueryAllowed As Boolean
    Get
'Usage
Dim instance As WebServiceAdapter2
Dim value As Boolean

value = instance.QueryAllowed
bool QueryAllowed { get; }

Property value

Type: System.Boolean

Remarks

The default value for the QueryAllowed 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

WebServiceAdapter2 interface

WebServiceAdapter2 members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace