Account 元素 (ASSL)

包含有关 Database 元素内的某个帐户类型的详细信息。

语法

<Accounts>
   <Account>
      <AccountType>...</AccountType>
      <AggregationFunction>...</AggregationFunction>
            <Aliases>...</Aliases>
            <Annotations>...</Annotations>
   </Account>
</Accounts>

元素特征

特征

说明

数据类型和长度

默认值

基数

0-n:可多次出现的可选元素。

元素关系

关系

元素

父元素

Accounts

子元素

AccountTypeAggregationFunctionAliasesAnnotations

注释

Type 元素已设置为 Accounts 的维度可以具有指定帐户类型的属性,如“收入”、“支出”等,帐户类型由维度中的成员表示。 然后,AggregationFunction 元素设置为 ByAccount 的帐户类型由 Measure 元素使用,以确定聚合该维度的成员时要使用的聚合函数。 Account 元素表示单个帐户类型和这类度量值应使用的聚合函数。

如果某个帐户类型的聚合函数不同于 MicrosoftSQL ServerAnalysis Services 用于此帐户类型的默认函数,则必须列出该帐户类型。

有效帐户类型集是固定的。

在 Analysis Management Objects (AMO) 对象模型中,对应的元素为 Account