DspQuery.WhereCondition Property

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

Public Property WhereCondition As XmlNode
    Get
    Set

Dim instance As DspQuery
Dim value As XmlNode

value = instance.WhereCondition

instance.WhereCondition = value
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.

See Also

Reference

DspQuery Class

DspQuery Members

Microsoft.SharePoint.Dsp Namespace