Share via


DspQuery.Where property

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

Namespace:  WebSvcDspSts
Assembly:  STSSOAP (in STSSOAP.dll)

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

WebSvcDspSts namespace