共用方式為


Where 元素 (XMLA)

定義 DropUpdate 父命令所使用的篩選條件。

語法

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

元素特性

特性

說明

資料類型和長度

預設值

基數

1-1:只出現一次的必要元素。

元素關聯性

關聯性

元素

父元素

DropUpdate

子元素

屬性

備註

若為 Drop 命令,與 DeleteWithDescendants 元素結合的 Where 元素會識別要卸除之屬性成員的範圍。

若為 Update 命令,Where 元素會識別要更新之屬性成員的範圍。 您可以使用 Update 父命令之 Attributes 集合和 Where 元素之 Attributes 集合中包含的屬性組合來更新多個屬性成員。

如需有關刪除和更新屬性成員的詳細資訊,請參閱<插入、更新和卸除成員 (XMLA)>。

請參閱

概念

屬性 (XMLA)