results 元素 (XMLA)

包含 Execute 方法 使用Batch 命令返回的根 元素 的集合。

命名 空间http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults

语法

  
<return>  
   <results>  
      <root>...</root>  
   </results>  
</return>  

元素特征

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

元素关系

关系 元素
父元素 return
子元素 root

备注

如果 Execute 方法执行 Batch 命令,则 返回 元素包含单个 结果 元素,而不是单个 元素。 结果元素 的内容 取决于用于运行 Batch 命令的设置。

对于非事务性 Batch 命令,results 元素包含 Batch 命令执行的每个命令的一个根元素,无论该命令是成功完成还是失败。 对于事务 批处理 命令, results 元素仅包含一个 元素,该根元素包含 Batch 命令中失败的命令的错误信息。