Restrictions 元素 (XMLA)

包含 探索 方法使用的限制列和数据。

语法

  
<Discover>  
...  
   <Restrictions>  
      <RestrictionList>...</RestrictionList>  
   </Restrictions>  
...  
</Discover>  

元素特征

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

元素关系

关系 元素
父元素 发现
子元素 RestrictionList

备注

Restrict 元素表示用于限制发现方法检索的信息的限制列和数据。

示例

<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">  
   <RequestType>DISCOVER_PROPERTIES</RequestType>  
   <Restrictions>  
      <RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis">  
         <PropertyName>Catalog</PropertyName>  
      </RestrictionList>  
   </Restrictions>  
   <Properties />  
</Discover>