Where 元素 (XMLA)

定义父 DropUpdate 命令使用的筛选条件。

语法

  
<Drop> <!-- or Update -->  
   ...  
   <Where>  
      <Attributes>...</Attributes>  
   </Where>  
   ...  
</Insert>  

元素特征

特征 说明
数据类型和长度
默认值
基数 1-1:出现一次且仅出现一次的必需元素。

元素关系

关系 元素
父元素 DropUpdate
子元素 特性

备注

对于 Drop 命令, Where 元素与 DeleteWithDescendants 元素结合使用,可标识要删除的属性成员的范围。

对于 Update 命令, Where 元素标识要更新的属性成员的范围。 结合使用父 Attributes 命令的 Update 集合和 Attributes 元素的 Where 集合中的属性可更新多个属性成员。