다음을 통해 공유


Accounts Element (ASSL)

Contains the collection of account types that are defined in a Database element.

구문

<Database>
   ...
   <Accounts>
      <Account>...</Account>
   </Accounts>
   ...
</Database>

Element Characteristics

Characteristic Description

Data type and length

None (collection)

Default value

None (collection)

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent elements

Database

Child elements

Account

주의

Dimensions, whose Type element is set to Accounts, can have an attribute that specifies the account type, such as Income, Expense, and so on, represented by members in the dimension. The account type is then used by Measure elements, whose AggregationFunction element is set to ByAccount, to determine the aggregation function to use when aggregating the members of that dimension. The Accounts element holds a collection of Account elements, which represent account types and the aggregation function that should be used for each account type.

An account type must be listed if the aggregate function is different from the default used by Microsoft SQL Server 2005 Analysis Services(SSAS) for each account type.

The set of valid account types is fixed.

The corresponding element in the Analysis Management Objects (AMO) object model is AccountCollection.

참고 항목

참조

AccountType Element (ASSL)
Collections (ASSL)

도움말 및 정보

SQL Server 2005 지원 받기