DspQuery.WhereCondition Property
NOTE: This API is now obsolete.
Gets or sets the Where clause used in the filter for the query.
Namespace: Microsoft.SharePoint.Dsp
Assembly: Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property WhereCondition As XmlNode
Get
Set
'Usage
Dim instance As DspQuery
Dim value As XmlNode
value = instance.WhereCondition
instance.WhereCondition = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public XmlNode WhereCondition { get; set; }
Property Value
Type: System.Xml.XmlNode
A System.Xml.XmlNode object that contains the Where clause used in the query in the following form:
<Where>
<And>
<Or>
<Eq>
<FieldRef Name="Region"/>
<Value>BC</Value>
</Eq>
<Eq>
<FieldRef Name="Region"/>
<Value>OR</Value>
</Eq>
</Or>
<IsNotNull>
<FieldRef Name="Phone"/>
</IsNotNull>
</And>
</Where>
Remarks
For more information, see the Where Element (Query) element.