Compartir a través de


SharepointListQueryConnection.QueryThisFormOnly Property

NOTE: This API is now obsolete.

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

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

Syntax

'Declaration
<ObsoleteAttribute("The SharePointListQueryConnection class has been deprecated. Use SharePointListRWQueryConnection instead.")> _
Public MustOverride ReadOnly Property QueryThisFormOnly As Boolean
    Get
'Usage
Dim instance As SharepointListQueryConnection
Dim value As Boolean

value = instance.QueryThisFormOnly
[ObsoleteAttribute("The SharePointListQueryConnection class has been deprecated. Use SharePointListRWQueryConnection instead.")]
public abstract 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.

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.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See Also

Reference

SharepointListQueryConnection Class

SharepointListQueryConnection Members

Microsoft.Office.InfoPath Namespace