DspQuery.Where Property

Gets or sets the Where clause used in the filter for the query

Namespace:  [DspSts Web service]
Web service reference: http://Site/_vti_bin/DspSts.asmx

Syntax

'Declaration
Public Property Where As XmlNode
    Get
    Set
'Usage
Dim instance As DspQuery
Dim value As XmlNode

value = instance.Where

instance.Where = value
public XmlNode Where { get; set; }

Property Value

Type: System.Xml.XmlNode
A System.Xml.XmlNode object that contains the Where clause used in the query, as shown in the following example:

<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>

Remarks

For more information, see the Where Element (Query).

See Also

Reference

DspQuery Class

DspQuery Members

DspSts Web Service