Cette documentation est archivée et n’est pas conservée.

DspQuery.WhereCondition, propriété (Microsoft.SharePoint.Dsp)

Windows SharePoint Services 3
Gets or sets the Where clause used in the filter for the query.

Espace de noms : Microsoft.SharePoint.Dsp
Assembly : Microsoft.SharePoint.Dsp (dans microsoft.sharepoint.dsp.dll)

[XmlElementAttribute(ElementName="Where")] 
public XmlNode WhereCondition { get; set; }

Valeur de la propriété

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> 

For more information, see the Where, élément (Query) element.

Afficher: