Share via


SharepointListAdapter2.QueryThisFormOnly property

Gets whether the query operation will apply only to the current form.

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

Syntax

'Declaration
ReadOnly Property QueryThisFormOnly As Boolean
    Get
'Usage
Dim instance As SharepointListAdapter2
Dim value As Boolean

value = instance.QueryThisFormOnly
bool QueryThisFormOnly { get; }

Property value

Type: System.Boolean
true if the query applies only to the current form; otherwise false.

Remarks

When a form is part of a SharePoint workflow, the query operation will apply only to the current form. The value of this property corresponds to the value of the queryThisFormOnly attribute of the xsf:extensions/xsf:extension/xsf2:solutionDefinition/xsf2:solutionDefinition/xsf2:dataConnections/xsf2:sharePointListAdapterExt/ element in the form definition file (.xsf) of the form template.

See also

Reference

SharepointListAdapter2 interface

SharepointListAdapter2 members

Microsoft.Office.Interop.InfoPath namespace