Download Account Element (ASSL) | Microsoft Docs

Document related concepts

B-tree wikipedia , lookup

Array data structure wikipedia , lookup

Transcript
Table of Contents
Account Element (ASSL)
Action Element (ASSL)
Aggregation Element (ASSL)
AggregationDesign Element (ASSL)
AggregationInstance Element (ASSL)
AlgorithmParameter Element (ASSL)
AllMemberTranslation Element (ASSL)
Annotation Element (ASSL)
Assembly Element (ASSL)
Attribute Element (ASSL)
AttributeAllMemberTranslation Element (ASSL)
AttributePermission Element (ASSL)
AttributeRelationship Element (ASSL)
Block Element (ASSL)
Calculation Element (ASSL)
CalculationProperty Element (ASSL)
CaptionColumn Element (ASSL)
CellPermission Element (ASSL)
Column Element (ASSL)
Command Element (ASSL)
Cube Element (ASSL)
CubePermission Element (ASSL)
CustomRollupColumn Element (ASSL)
CustomRollupPropertiesColumn Element (ASSL)
Data Element (ASSL)
Database Element (ASSL)
DatabasePermission Element (ASSL)
DataSource Element (ASSL)
DataSourcePermission Element (ASSL)
DataSourceView Element (ASSL)
Dimension Element (ASSL)
DimensionPermission Element (ASSL)
ErrorConfiguration Element (ASSL)
Event Element (ASSL)
File Element (ASSL)
ForeignKeyColumn Element (ASSL)
Group Element (ASSL)
Hierarchy Element (ASSL)
IncrementalProcessingNotification Element (ASSL)
KeyColumn Element (ASSL)
Kpi Element (ASSL)
Level Element (ASSL)
MdxScript Element (ASSL)
Measure Element (ASSL)
MeasureGroup Element (ASSL)
Member Element (ASSL)
MiningModel Element (ASSL)
MiningModelPermission Element (ASSL)
MiningStructure Element (ASSL)
MiningStructurePermission Element (ASSL)
ModelingFlag Element (ASSL)
NameColumn Element (ASSL)
NamingTemplateTranslation Element (ASSL)
Objects (ASSL)
Partition Element (ASSL)
Perspective Element (ASSL)
ProactiveCaching Element (ASSL)
QueryNotification Element (ASSL)
ReportFormatParameter Element - ASL
ReportParameter Element - ASSL
Role Element (ASSL)
Server Element (ASSL)
ServerProperty Element (ASSL)
SkippedLevelsColumn Element (ASSL)
SourceMeasureGroup Element (ASSL)
TableNotification Element (ASSL)
Trace Element (ASSL)
Translation Element (ASSL)
UnaryOperatorColumn Element (ASSL)
UnknownMemberTranslation Element (ASSL)
ValueColumn Element (ASSL)
Account Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains details about an account type within a Database element.
Syntax
<Accounts>
<Account>
<AccountType>...</AccountType>
<AggregationFunction>...</AggregationFunction>
<Aliases>...</Aliases>
<Annotations>...</Annotations>
</Account>
</Accounts>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Accounts
Child elements
AccountType, AggregationFunction, Aliases, Annotations
Remarks
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 Account element represents a single account type and the
aggregation function that should be used by such measures.
An account type must be listed if the aggregate function is different from the default used by Microsoft SQL Server
Analysis Services for each account type.
The set of valid account types is fixed.
The corresponding element in the Analysis Management Objects (AMO) object model is Account.
See Also
Database Element (ASSL)
Objects (ASSL)
Action Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information about an action available in a Cube element or a Perspective element.
Syntax
<Actions>
<Action
<Action
<Action
<!-- or
<Action
</Actions>
xsi:type="DrillThroughAction">...</Action> <!-- ancestor: Cube -->
xsi:type="ReportAction">...</Action> <!-- ancestor: Cube -->
xsi:type="StandardAction">...</Action> <!-- ancestor: Cube -->
-->
xsi:type="PerspectiveAction">...</Action> <!-- ancestor: Perspective -->
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
Cube
DrillThroughAction, ReportAction, StandardAction
Perspective
PerspectiveAction
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Actions
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Action.
See Also
Cube Element (ASSL)
Perspective Element (ASSL)
PerspectiveAction Data Type (ASSL)
Objects (ASSL)
Aggregation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a single aggregation for a Partition element.
Syntax
<Aggregations>
<Aggregation>
<ID>...</ID>
<Name>...</Name>
<Dimensions>...</Dimensions>
<Annotations>...</Annotations>
<Description>...</Description>
</Aggregation>
</Aggregations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent element
Aggregations
Child elements
Annotations, Description, Dimensions, ID, Name
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Aggregation.
See Also
Partition Element (ASSL)
AggregationDesign Element (ASSL)
MeasureGroup Element (ASSL)
Objects (ASSL)
AggregationDesign Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a set of aggregation definitions that can be shared across multiple partitions in a database.
Syntax
<AggregationDesigns>
<AggregationDesign>
<ID>...</ID>
<Name>...</Name>
<Description>...</Description>
<EstimatedRows>...</EstimatedRows>
<Dimensions>...</Dimensions>
<Aggregations>...</Aggregation>
<EstimatedPerformanceGain>...</EstimatedPerformanceGain>
<Annotations>...</Annotations>
</AggregationDesign>
</AggregationDesigns>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AggregationDesigns
Child elements
Aggregations, Annotations, Description, Dimensions,
EstimatedPerformanceGain, EstimatedRows, ID, Name
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is AggregationDesign.
See Also
Partition Element (ASSL)
Aggregation Element (ASSL)
Aggregations Element (ASSL)
Objects (ASSL)
AggregationInstance Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines an aggregation instance for a partition.
Syntax
<AggregationInstances>
<AggregationInstance>
<AggregationType>...</AggregationType>
<AggregationID>...</AggregationID>
<Source>...</Source>
<Dimensions>...</Dimensions>
<Measures>...</Measures>
<Annotations>...</Annotations>
</AggregationInstance>
</AggregationInstances>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AggregationInstances
Child elements
AggregationID, AggregationType, Annotations, Dimensions,
Measures, Source
Remarks
When a Partition element uses an AggregationDesign element to generate aggregations for that partition, each
Aggregation in the AggregationDesign is instantiated for that partition. Multiple partitions can use the same
aggregation design to generate multiple instances of a defined aggregation. The AggregationInstance element
represents an instance of a defined aggregation.
The corresponding element in the Analysis Management Objects (AMO) object model is AggregationInstance.
See Also
Objects (ASSL)
AlgorithmParameter Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a parameter for the algorithm used by a MiningModel element.
Syntax
<AlgorithmParameters>
<AlgorithmParameter>
<Name>...</Name>
<Value>...</Value>
</AlgorithmParameter>
</AlgorithmParameters>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AlgorithmParameters
Child elements
Name, Value
Remarks
An AlgorithmParameter is a parameter for a mining model algorithm. The AlgorithmParameter represents this
parameter as a name/value pair. The set of applicable parameters that an AlgorithmParameter can represent is
algorithm-dependent. For more information about algorithm parameters for a given algorithm, see the appropriate
documentation for that algorithm.
Available algorithm parameters, including validation and display information, can be retrieved from the
DMSCHEMA_MINING_SERVICE_PARAMETERS schema rowset.
The corresponding element in the Analysis Management Objects (AMO) object model is AlgorithmParameter.
See Also
MiningModel Element (ASSL)
Algorithm Element (ASSL)
Objects (ASSL)
AllMemberTranslation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains a translation for the caption of the All member of a Hierarchy element.
Syntax
<AllMemberTranslations>
<AllMemberTranslation xsi:type="Translation">...
</AllMemberTranslation>
</AllMemberTranslations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Translation
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent element
AllMemberTranslations
Child elements
None
Remarks
The element that corresponds to the parent of the AllMemberTranslations collection in the Analysis Management
Objects (AMO) object model is Hierarchy.
See Also
Translation Element (ASSL)
Hierarchy Element (ASSL)
Objects (ASSL)
Annotation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains elements that are used to extend the Analysis Services Scripting Language (ASSL) schema.
Syntax
<Annotations>
<Annotation>
<Name>...</Name>
<Visibility>...</Visibility>
<Value>...</Value>
</Annotation>
</Annotations >
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Annotations
Child elements
Name, Value, Visibility
Remarks
The Annotation element provides extensibility of the ASSL schema for all objects other than those used solely to
define a complex data type. The Value element of the Annotation element can contain valid XML from any XML
namespace other than ASSL, subject to the following rules:
The XML can contain only elements.
Each element must have a unique name. It is recommended that the value of the Name element of the
Annotation element reference the target namespace.
These rules are imposed to allow the contents of the Annotation element to be exposed as a set of
name/value pairs through other interfaces, such as Decision Support Objects (DSO).
Comments and white space within the Annotation element that are not enclosed within a child element
cannot be preserved. In addition, all elements must be read-write; read-only elements will be ignored.
The corresponding element in the Analysis Management Objects (AMO) object model is Annotation.
See Also
Objects (ASSL)
Assembly Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Represents a Microsoft .NET Framework assembly or a COM dynamic link library (DLL) associated with a Server
element or a Database element.
Syntax
<Assemblies>
<Assembly xsi:type="ClrAssembly">...</Assembly>
<!-- or -->
<Assembly xsi:type="ComAssembly">...</Assembly>
</Assemblies>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
ClrAssembly, ComAssembly
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Assemblies
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Assembly.
See Also
Server Element (ASSL)
Database Element (ASSL)
Objects (ASSL)
Attribute Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains the description of an attribute.
Syntax
<Attributes>
<Attribute xsi:type="AggregationAttribute">...</Attribute> <!-- ancestor: AggregationDimension -->
<!-- or -->
<Attribute xsi:type="AggregationDesignAttribute">...</Attribute> <!-- ancestor: AggregationDesignDimension ->
<!-- or -->
<Attribute xsi:type="AggregationInstanceAttribute">...</Attribute> <!-- ancestor:
AggregationInstanceCubeDimension -->
<!-- or -->
<Attribute xsi:type="CubeAttribute">...</Attribute> <!--ancestor: CubeDimension -->
<!-- or -->
<Attribute xsi:type="DimensionAttribute">...</Attribute> <!-- ancestor: Dimension -->
<!-- or -->
<Attribute xsi:type="MeasureGroupAttribute">...</Attribute> <!-- ancestor: RegularMeasureGroupDimension -->
<!-- or -->
<Attribute xsi:type="PerspectiveAttribute">...</Attribute> <!-- ancestor: PerspectiveDimension -->
<!-- or -->
<Attribute>
<AttributeID>...</AttributeID>
</Attribute> <!-- ancestor: RelationshipEnd -->
</Attributes>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
ANCESTOR OR PARENT
DATA TYPE
AggregationDesignDimension
AggregationDesignAttribute
AggregationDimension
AggregationAttribute
AggregationInstanceCubeDimension
AggregationInstanceAttribute
CubeDimension
CubeAttribute
Dimension
DimensionAttribute
ANCESTOR OR PARENT
DATA TYPE
RegularMeasureGroupDimension
MeasureGroupAttribute
PerspectiveDimension
PerspectiveAttribute
RelationshipEnd
<Attribute>
<AttributeID>...</AttributeID></Attribute>
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Attributes
Child elements
None
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are
AggregationDesignAttribute, AggregationAttribute, CubeAttribute, DimensionAttribute, MeasureGroupAttribute,
and PerspectiveAttribute.
See Also
Objects (ASSL)
AttributeAllMemberTranslation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains a translation for the caption of the All member of a DimensionAttribute element.
Syntax
<AttributeAllMemberTranslations>
<AttributeAllMemberTranslation xsi:type="Translation">...</AttributeAllMemberTranslation>
</AttributeAllMemberTranslations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Translation
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AttributeAllMemberTranslations
Child elements
None
Remarks
The element that corresponds to the parent of the AttributeAllMemberTranslations collection in the Analysis
Management Objects (AMO) object model is Dimension.
See Also
Translation Element (ASSL)
Objects (ASSL)
AttributePermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the permissions that members of a Role element have on the attributes of an individual dimension in a
Cube element.
Syntax
<AttributePermissions>
<AttributePermission>
<AttributeID>...</AttributeID>
<Description>...</Description>
<DefaultMember>...</DefaultMember>
<VisualTotals>...</VisualTotals>
<AllowedSet>...</AllowedSet>
<DeniedSet>...</DeniedSet>
<Annotations>...</Annotations>
</AttributePermission>
</AttributePermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AttributePermissions
Child elements
AllowedSet, Annotations, AttributeID, DefaultMember,
DeniedSet, Description, VisualTotals
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is AttributePermission.
See Also
CubeDimensionPermission Data Type (ASSL)
Objects (ASSL)
AttributeRelationship Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Provides details about the relationship between two attributes.
Syntax
<AttributeRelationships>
<AttributeRelationship>
<AttributeID>...</AttributeID>
<RelationshipType>...</RelationshipType>
<Cardinality>...</Cardinality>
<Optionality >...</Optionality>
<OverrideBehavior >...</OverrideBehavior>
<Annotations>...</Annotations>
<Name>...</Name>
<Visible>...</Visible>
<Translations>...</Translations>
</AttributeRelationship>
</AttributeRelationships>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AttributeRelationships
Child elements
Annotations, AttributeID, Cardinality, Name, Optionality,
OverrideBehavior, RelationshipType, Translations, Visible
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is AttributeRelationship.
See Also
Objects (ASSL)
Block Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains all or a portion of the binary contents of a ClrAssemblyFile element.
Syntax
<Blocks>
<Block>...</Block>
</Blocks>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Base64Binary
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Blocks
Child elements
None
See Also
Assembly Element (ASSL)
ClrAssembly Data Type (ASSL)
Files Element (ASSL)
File Element (ASSL)
ClrAssemblyFile Data Type (ASSL)
Data Element (ASSL)
DataBlock Data Type (ASSL)
Objects (ASSL)
Calculation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Asssociates a calculation with a Perspective element.
Syntax
<Calculations>
<Calculation xsi:type="PerspectiveCalculation">
</Calculation>
</Calculations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
PerspectiveCalculation
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Calculations
Child elements
None
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are CalculationType and
PerspectiveCalculationType.
See Also
Objects (ASSL)
CalculationProperty Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains a collection of user interface properties for a calculation used in an MdxScript element.
Syntax
<CalculationProperties>
<CalculationProperty>
<CalculationReference>...</CalculationReference>
<CalculationType>...</CalculationType>
<Translations>...</Translations>
<Description>...</Description>
<Visible>...</Visible>
<SolveOrder>...</SolveOrder>
<FormatString>...</FormatString>
<ForeColor>...</ForeColor>
<BackColor>...</BackColor>
<FontName>...</FontName>
<FontSize>...</FontSize>
<FontFlags>...</FontFlags>
<NonEmptyBehavior>...</NonEmptyBehavior>
<AssociatedMeasureGroupID>...</AssociatedMeasureGroupID>
<DisplayFolder>...</DisplayFolder>
</CalculationProperty>
</CalculationProperties>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
CalculationProperties
Child elements
AssociatedMeasureGroupID, BackColor, CalculationReference,
CalculationType, Description, DisplayFolder, FontFlags,
FontName, FontSize, ForeColor, FormatString,
NonEmptyBehavior, SolveOrder, Translations, Visible
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is CalculationProperty.
See Also
Objects (ASSL)
CaptionColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the column that provides the caption for the attribute.
Syntax
<AttributeTranslation>
...
<CaptionColumn xsi:type="DataItem">...</CaptionColumn>
...
</AttributeTranslation>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
AttributeTranslation
Child elements
None
Remarks
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The element that corresponds to the parent of CaptionColumn in the Analysis Management Objects (AMO) object
model is AttributeTranslation.
See Also
Objects (ASSL)
CellPermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Describes the permissions that members of a Role element have on individual cells within a Cube element.
Syntax
<CellPermissions>
<CellPermission>
<Access>...</Access>
<Description>...</Description>
<Expression>...</Expression>
<Annotations>...</Annotations>
</CellPermission>
</CellPermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
CellPermissions
Child elements
Access, Annotations, Description, Expression
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is CellPermission.
See Also
Objects (ASSL)
Column Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Describes a column in the collection of columns associated with the parent element.
Syntax
<Columns>
<Column xsi:type="MeasureBinding">...</Column> <!-- parent of collection: DrillThroughAction -->
<!-- or -->
<Column xsi:type="CubeAttributeBinding">...</Column> <!-- parent of collection: DrillThroughAction -->
<!-- or -->
<Column xsi:type="EventColumn">...</Column> <!-- parent of collection: Event -->
<!-- or -->
<Column xsi:type="MiningModelColumn">...</Column> <!-- parent of collection: MiningModel or
MiningModelColumn -->
<!-- or -->
<Column xsi:type="MiningStructureColumn">...</Column> <!-- parent of collection: MiningStructure or
TableMiningStructureColumn -->
</Columns>
Element Characteristics
Data type and length
ANCESTOR OR PARENT
DATA TYPE
DrillThroughAction
MeasureBinding, CubeAttributeBinding
Event
EventColumn
MiningModel, MiningModelColumn
MiningModelColumn
MiningStructure, TableMiningStructureColumn
MiningStructureColumn
Default value: None
Cardinality
ANCESTOR OR PARENT
CARDINALITY
Event
1-n: Required element that can occur more than once.
All others
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Columns
RELATIONSHIP
ELEMENT
Child elements
None
See Also
Objects (ASSL)
Command Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a command that is available for use within the context of the parent element of the Commands collection.
Syntax
<Commands>
<Command>
<Text>...</Text>
</Command>
</Commands >
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Commands
Child elements
Text
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Command.
See Also
Objects (ASSL)
Cube Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a regular, virtual, or linked cube in a Microsoft SQL Server Analysis Services Database element.
Syntax
<Cubes>
<Cube>
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Language>...</Language>
<Collation>...</Collation>
<Translations>...</Translations>
<Dimensions>...</Dimensions>
<CubePermissions>...</CubePermissions>
<MdxScripts>...</MdxScripts>
<Perspectives>...</Perspectives>
<State>...</State>
<DefaultMeasure>...</DefaultMeasure>
<Visible>...</Visible>
<MeasureGroups>...</MeasureGroups>
<DataSourceView >...</Source>
<AggregationPrefix>...</AggregationPrefix>
<ProcessingPriority>...</ProcessingPriority>
<StorageMode>...</StorageMode>
<ProcessingMode>...</ProcessingMode>
<ScriptCacheProcessingMode>...</ScriptCacheProcessingMode>
<ProactiveCaching>...</ProactiveCaching>
<Kpis>...</Kpis>
<ErrorConfiguration>...</ErrorConfiguration>
<Actions>...</Actions>
<StorageLocation>...</StorageLocation>
<EstimatedRows>...</EstimatedRows>
<LastProcessed>...</LastProcessed>
<Annotations>...</Annotations>
</Cube>
</Cubes>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Cubes
Child elements
Actions, AggregationPrefix, Annotations, Collation,
CreatedTimestamp, CubePermissions, DefaultMeasure,
Description, Dimensions, ErrorConfiguration,
EstimatedRows, ID, Kpis, Language, LastProcessed,
LastSchemaUpdate, MdxScripts, MeasureGroups, Name,
Perspectives, ProactiveCaching, ProcessingMode,
ProcessingPriority, ScriptCacheProcessingMode, State,
StorageLocation, StorageMode, Translations, Visible
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Cube.
See Also
Objects (ASSL)
CubePermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the permissions of the members of a particular Role element in a specific Cube element.
Syntax
<CubePermissions>
<CubePermission>
<!-- The following elements extend Permission -->
<ReadSourceData>...</ReadSourceData>
<DimensionPermissions>...</DimensionPermissions>
<CellPermissions>...</CellPermissions>
</CubePermission>
</CubePermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Permission
Default value
None
Cardinality
0-n: Optional element that can occur once or more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
CubePermissions
Child elements
CellPermissions, DimensionPermissions, ReadSourceData
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is CubePermission.
See Also
Cube Element (ASSL)
Objects (ASSL)
CustomRollupColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the details of the column that provide a custom rollup formula.
Syntax
<DimensionAttribute>
...
<CustomRollupColumn xsi:type="DataItem">...</CustomRollupColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute
Child elements
None
Remarks
For additional information about the DataItem type, including a table of Analysis Services Scripting Language
(ASSL) objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The element that corresponds to the parent of CustomRollupColumn in the Analysis Management Objects (AMO)
object model is DimensionAttribute.
See Also
Objects (ASSL)
CustomRollupPropertiesColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the details of a column that provide the properties of a custom rollup formula.
Syntax
<DimensionAttribute>
...
<CustomRollupPropertiesColumn xsi:type="DataItem">...</CustomRollupPropertiesColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute
Child elements
None
Remarks
For additional information about the DataItem type, including a table of Analysis Services Scripting Language
(ASSL) objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The element that corresponds to the parent of CustomRollupPropertiesColumn in the Analysis Management
Objects (AMO) object model is DimensionAttribute.
See Also
CustomRollupColumn Element (ASSL)
Objects (ASSL)
Data Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains (in the collection of child Block Element (ASSL) elements) the binary contents of a ClrAssemblyFile
element.
Syntax
<File xsi:type="ClrAssemblyFile">
...
<Data xsi:type="DataBlock">...</Data>
...
</ClrAssemblyFile>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataBlock
Default value
None
Cardinality
1-1: Required element that occurs once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
File of type ClrAssemblyFile
Child elements
None
Remarks
The element that corresponds to the parent of Data in the Analysis Management Objects (AMO) object model is
ClrAssemblyFile.
See Also
Assembly Element (ASSL)
ClrAssembly Data Type (ASSL)
Files Element (ASSL)
Blocks Element (ASSL)
Objects (ASSL)
Database Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a Microsoft SQL Server Analysis Services database.
Syntax
<Databases>
<Database>
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<LastUpdate>...</LastUpdate>
<Description>...</Description>
<State> </State>
<AggregationPrefix>...</AggregationPrefix>
<EstimatedSize>...</EstimatedSize>
<LastProcessed>...</LastProcessed>
<Language>...</Language>
<Collation>...</Collation>
<Visible>...</Visible>
<MasterDatasourceID>...</MasterDataSourceID>
<Accounts>...</Accounts>
<DataSources>...</DataSources>
<DataSourceViews>...</DataSourceViews>
<Dimensions>...</Dimensions>
<Cubes>...</Cubes>
<MiningStructures>...</MiningStructures>
<Roles>...</Roles>
<Assemblies>...</Assemblies>
<DatabasePermissions>...</DatabasePermissions>
<Translations>...</Translations>
<Annotations>...</Annotations>
</Database>
</Databases>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Databases
RELATIONSHIP
ELEMENT
Child elements
Accounts, AggregationPrefix, Annotations, Assemblies,
Collation, CreatedTimestamp, Cubes, DatabasePermissions,
DataSources, DataSourceViews, Description, Dimensions,
EstimatedSize, ID, Language, LastProcessed,
LastSchemaUpdate, LastUpdate, MasterDatasourceID,
MiningStructures, Name, Roles, State, Translations, Visible
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Database.
See Also
Server Element (ASSL)
Objects (ASSL)
DatabasePermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the default permissions in a Database element for a specific Role element.
Syntax
<DatabasePermissions>
<DatabasePermission xsi:type="Permission">
<!-- The following elements extend Permission -->
<Administer>...</Administer>
...</DatabasePermission>
</DatabasePermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Permission
Default value
False
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DatabasePermissions
Child elements
Administer
Remarks
DatabasePermission objects can exist only for roles owned by the database, and only one DatabasePermission
object can exist for any role.
This element has the following validations under DeploymentMode value 2 (Tabular Models).
Administer attribute default value is set to False, except when the user has administrative privileges. For
users with administrative privileges the attribute value is set to True.
The corresponding element in the Analysis Management Objects (AMO) object model is
DatabasePermission.
See Also
Role Element (ASSL)
Objects (ASSL)
DataSource Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a data source in a Microsoft SQL Server Analysis Services Database element.
Syntax
<DataSources>
<DataSource xsi:type="RelationalDataSource">...</DataSource>
<!-- or -->
<DataSource xsi:type="OlapDataSource">...</DataSource>
<!-- or -->
<DataSource xsi:type="PushedDataSource">...</DataSource>
</DataSources>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
RelationalDataSource, OlapDataSource, PushedDataSource
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DataSources
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is DataSource.
See Also
Database Element (ASSL)
Objects (ASSL)
DataSourcePermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the default permissions in a DataSource data type for a specific Role element.
Syntax
<DataSourcePermissions>
<DataSourcePermission xsi:type="Permission">
<!-- No child elements other than those from Permission are defined -->
...</DataSourcePermission>
</DataSourcePermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Permission
Default value
None
Cardinality
0-n: Optional element that can occur once or more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DataSourcePermissions
Child elements
None
Remarks
DataSourcePermission objects can exist only for roles owned by the database, and only one
DataSourcePermission object can exist for any role.
See Also
Role Element (ASSL)
Objects (ASSL)
DataSourceView Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a data source view used by a Microsoft SQL Server Analysis Services Database element.
Syntax
<DataSourceViews>
<DataSourceView>
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Annotations>...</Annotations>
<DataSourceID> </DataSourceID>
<Schema>...</Schema>
</DataSourceView>
</DataSourceViews>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DataSourceViews
Child elements
Annotations, CreatedTimestamp, DataSourceID, Description,
ID, LastSchemaUpdate, Name, Schema
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is DataSourceView.
See Also
Database Element (ASSL)
Objects (ASSL)
Dimension Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a dimension.
Syntax
<Dimensions>
<Dimension xsi:type="Dimension">...</Dimension> <!-- ancestor: Database -->
<!-- or -->
<Dimension xsi:type="AggregationDimension">...</Dimension> <!-- ancestor: Aggregation -->
<!-- or -->
<Dimension xsi:type="AggregationDesignDimension">...</Dimension> <!-- ancestor: AggregationDesign -->
<!-- or -->
<Dimension xsi:type="AggregationInstanceCubeDimension">...</Dimension> <!-- ancestor: AggregationInstance
-->
<!-- or -->
<Dimension xsi:type="CubeDimension">...</Dimension> <!-- ancestor: Cube -->
<!-- or -->
<Dimension xsi:type="MeasureGroupDimension">...</Dimension> <!-- ancestor: MeasureGroup -->
<!-- or -->
<Dimension xsi:type="PerspectiveDimension">...</Dimension> <!-- ancestor: Perspective -->
</Dimensions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
Database
Dimension
Aggregation
AggregationDimension
AggregationDesign
AggregationDesignDimension
AggregationInstance
AggregationInstanceCubeDimension
Cube
CubeDimension
MeasureGroup
MeasureGroupDimension
Perspective
PerspectiveDimension
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Dimensions
Child elements
None
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are Dimension,
AggregationDimension, AggregationDesignDimension, CubeDimension, MeasureGroupDimension, and
PerspectiveDimension.
See Also
Objects (ASSL)
DimensionPermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the permissions that belong to a particular Role element for a specific database dimension or cube
dimension.
Syntax
<DimensionPermissions>
<DimensionPermission xsi:type="DimensionPermission">...</DimensionPermission> <!-- ancestor: Dimension -->
<!-- or -->
<DimensionPermission xsi:type="CubeDimensionPermission">...</DimensionPermission> <!-- ancestor:
CubePermission -->
</DimensionPermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
The following are valid Parent (or Ancestor): Data Type pairs:
Dimension:DimensionPermission
CubePermission:
CubeDimensionPermission
Default value
None
Cardinality
0-n: Optional element that can occur once or more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent element
DimensionPermissions
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are DimensionPermission
and CubeDimensionPermission.
See Also
Objects (ASSL)
ErrorConfiguration Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Specifies settings for handling errors that can occur when the parent element is processed.
Syntax
<Cube> <!-- or Dimension, MeasureGroup, MiningStructure, Partition -->
...
<ErrorConfiguration>
<KeyErrorLimit>...</KeyErrorLimit>
<KeyErrorLogFile>...</KeyErrorLogFile>
<KeyErrorAction>...</KeyErrorAction>
<KeyErrorLimitAction>...</KeyErrorLimitAction>
<KeyNotFound>...</KeyNotFound>
<KeyDuplicate>...</KeyDuplicate>
<NullKeyConvertedToUnknown>...</NullKeyConvertedToUnknown>
<NullKeyNotAllowed>...<NullKeyNotAllowed>
</ErrorConfiguration>
...
</Cube >
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Cube, Dimension, MeasureGroup, MiningStructure, Partition
Child elements
KeyDuplicate, KeyErrorAction, KeyErrorLimit,
KeyErrorLimitAction, KeyErrorLogFile, KeyNotFound,
NullKeyConvertedToUnknown, NullKeyNotAllowed
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is ErrorConfiguration.
See Also
Objects (ASSL)
Event Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines an Event to be captured as part of a Trace element.
Syntax
<Events>
<Event>
<EventID>...</EventID>
<Columns>...</Columns>
</Event>
</Events>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Events
Child elements
Columns, EventID
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is TraceEvent.
See Also
Trace Element (ASSL)
Objects (ASSL)
File Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines one of the files that compose a Microsoft .NET Framework ClrAssembly element.
Syntax
<Files>
<File xsi:type="ClrAssemblyFile">...</File>
</Files>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
ClrAssemblyFile
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Files
Child elements
None
Remarks
The element that corresponds to the parent of Files in the Analysis Management Objects (AMO) object model is
ClrAssemblyFile.
See Also
Server Element (ASSL)
Database Element (ASSL)
Assemblies Element (ASSL)
Assembly Element (ASSL)
ClrAssembly Data Type (ASSL)
Data Element (ASSL)
DataBlock Data Type (ASSL)
Blocks Element (ASSL)
Block Element (ASSL)
ComAssembly Data Type (ASSL)
Objects (ASSL)
ForeignKeyColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Identifies the join to a parent table for a relational data source.
Syntax
<ForeignKeyColumns>
<ForeignKeyColumn xsi:type="DataItem">...</ForeignKeyColumn>
</ForeignKeyColumns>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
ForeignKeyColumns
Child elements
None
Remarks
For additional information about the DataItem type, including a table of Analysis Services Scripting Language
(ASSL) objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The element that corresponds to the parent of the ForeignKeyColumns collection in the Analysis Management
Objects (AMO) object model is TableMiningStructureColumn.
See Also
TableMiningStructureColumn Data Type (ASSL)
MiningStructureColumn Data Type (ASSL)
MiningStructure Element (ASSL)
Objects (ASSL)
Group Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a group of members bound to an attribute.
Syntax
<Groups>
<Group>
<Name>...</Name>
<Members>...</Members>
</Group>
<Groups/>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Groups
Child elements
Members, Name
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Group.
See Also
UserDefinedGroupBinding Data Type (ASSL)
Objects (ASSL)
Hierarchy Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a hierarchy in a dimension.
Syntax
<Hierarchies>
<Hierarchy xsi:type="Hierarchy">...</Hierarchy> <!-- ancestor: Dimension -->
<!-- or -->
<Hierarchy xsi:type="CubeHierarchy">...</Hierarchy> <!-- ancestor: CubeDimension -->
<!-- or -->
<Hierarchy xsi:type="PerspectiveHierarchy">...</Hierarchy> <!-- ancestor: PerspectiveDimension -->
<!-- or -->
<Hierarchy xsi:type="MeasureGroupHierarchy">...</Hierarchy> <!-- ancestor: RegularMeasureGroupDimension -->
</Hierarchies>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
Dimension
Hierarchy
CubeDimension
CubeHierarchy
PerspectiveDimension
PerspectiveHierarchy
RegularMeasureGroupDimension
MeasureGroupHierarchy
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Hierarchies
Child elements
None
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are Hierarchy,
CubeHierarchy, and PerspectiveHierarchy.
See Also
Objects (ASSL)
IncrementalProcessingNotification Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information for the ProactiveCaching element about a query to execute to determine the progress of
incremental processing.
Syntax
<IncrementalProcessingNotifications>
<IncrementalProcessingNotification xsi:type="IncrementalProcessingNotification">...
</IncrementalProcessingNotification>
</IncrementalProcessingNotifications>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
IncrementalProcessingNotification
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
IncrementalProcessingNotifications
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is
IncrementalProcessingNotification.
See Also
ProactiveCachingQueryBinding Data Type (ASSL)
ProactiveCaching Element (ASSL)
Objects (ASSL)
KeyColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains the definition of a column that is, or is part of, the key for an attribute.
Syntax
<KeyColumns>
<KeyColumn xsi:type="DataItem">...</KeyColumn>
<KeyColumns>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
KeyColumns
Child elements
None
Remarks
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The elements that correspond to the parents of the KeyColumns collection in the Analysis Management Objects
(AMO) object model are AggregationInstanceAttribute, DimensionAttribute, MeasureGroupAttribute, and
ScalarMiningStructureColumn.
See Also
AggregationInstanceAttribute Data Type (ASSL)
AggregationInstanceCubeDimension Data Type (ASSL)
DimensionAttribute Data Type (ASSL)
MeasureGroupAttribute Data Type (ASSL)
ScalarMiningStructureColumn Data Type (ASSL)
Objects (ASSL)
Kpi Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a key performance indicator (KPI) within a Cube element or a Perspective element.
Syntax
<Kpis>
<Kpi> <!-- ancestor: Cube -->
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<Translations>...</Translations>
<DisplayFolder>...</DisplayFolder>
<AssociatedMeasureGroupID>...</AssociatedMeasureGroupID>
<Value>...</Value>
<Goal>...</Goal>
<Status>...</Status>
<Trend>...</Trend>
<TrendGraphic>...</TrendGraphic>
<StatusGraphic>...</StatusGraphic>
<CurrentTimeMember>...</CurrentTimeMember>
<Annotations>...</Annotations>
</Kpi>
<!-- or -->
<Kpi xsi:type="PerspectiveKpi">...</Kpi> <!-- ancestor: Perspective -->
</Kpi>
</Kpis>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
Cube
None
Perspective
PerspectiveKpi
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Kpis
RELATIONSHIP
ELEMENT
Child elements
See the table below.
ANCESTOR OR PARENT
CHILD ELEMENTS
Cube
Annotations, AssociatedMeasureGroupID,
CurrentTimeMember, Description, DisplayFolder, Goal, ID,
Name, Status, StatusGraphic, Translations, Trend,
TrendGraphic, Value
Perspective
None
Remarks
The corresponding elements in the Analysis Management Objects (AMO) object model are Kpi and PerspectiveKpi.
See Also
Objects (ASSL)
Level Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a level in a Hierarchy element.
Syntax
<Levels>
<Level>
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<SourceAttributeID>...</SourceAttributeID>
<HideMemberIf>...</HideMemberIf>
<Translations>...</Translations>
<Annotations>...</Annotations>
</Level>
</Levels>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent element
Levels
Child elements
Annotations, Description, HideMemberIf, ID, Name,
SourceAttributeID, Translations
Remarks
This data type has no restrictions under any deployment mode (1-Multidimensional and Data Mining, 2SharePoint, and 3-Tabular).
The corresponding element in the Analysis Management Objects (AMO) object model is Level.
See Also
Objects (ASSL)
MdxScript Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information about a Multidimensional Expressions (MDX) script that is associated with a Cube element.
Syntax
<MdxScripts>
<MdxScript>
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Annotations>...</Annotations>
<Commands>...</Commands>
<DefaultScript>...</DefaultScript>
<CalculationProperties>...</CalculationProperties>
</MdxScript>
</MdxScripts>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MdxScripts
Child elements
Annotations, CalculationProperties, Commands,
CreatedTimestamp, DefaultScript, Description, ID,
LastSchemaUpdate, Name
Remarks
A script's DefaultScript element is set to True by default. Setting DefaultScript to True for a particular script sets
DefaultScript to False for all other scripts.
The corresponding element in the Analysis Management Objects (AMO) object model is MdxScript.
See Also
Objects (ASSL)
Measure Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a measure.
Syntax
<Measures>
<Measure> <!-- ancestor: MeasureGroup -->
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<AggregateFunction>...</AggregateFunction>
<DataType>...</DataType>
<Source>...</Source>
<Visible>...</Visible>
<MeasureExpression>...</MeasureExpression>
<DisplayFolder>...</DisplayFolder>
<FormatString>...</FormatString>
<BackColor>...</BackColor>
<ForeColor>...</ForeColor>
<FontName>...</FontName>
<FontSize>...</FontSize>
<FontFlags>...</FontFlags>
<Translations>...</Translations>
<Annotations>...</Annotations>
</Measure>
<!-- or -->
<Measure xsi:type="AggregationInstanceMeasure">...</Measure> <!-- parent: AggregationInstance -->
<!-- or -->
<Measure xsi:type="MeasureBinding">...</Measure> <!-- ancestor: MeasureGroupBinding (out-of-line) -->
<!-- or -->
<Measure xsi:type="PerspectiveMeasure">...</Measure> <!-- ancestor: PerspectiveMeasureGroup -->
</Measures>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
AggregationInstance
AggregationInstanceMeasure
MeasureGroup
None
MeasureGroupBinding (out-of-line)
MeasureBinding
ANCESTOR OR PARENT
DATA TYPE
PerspectiveMeasureGroup
PerspectiveMeasure
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Measures
Child elements
See the table below.
ANCESTOR OR PARENT
CHILD ELEMENTS
MeasureGroup
AggregateFunction, Annotations, BackColor, DataType,
Description, DisplayFolder, FontFlags, FontName, FontSize,
ForeColor, FormatString, ID, MeasureExpression, Name,
Source, Translations, Visible
All others
None
Remarks
Binding details can be provided for a measure. These details then act as the defaults per partition.
In larger cubes, there may be hundreds of measures and hierarchies. The DisplayFolder property defines user
appearance on the client. The value of the DisplayFolder property can contain any one of the following options:
Be empty, denoting that the measure does not belong to a folder.
Contain a single folder name, denoting that the measure should be rendered as belonging to a folder with
the same name.
Contain multiple folder names separated by a backslash (\), denoting an embedded folder hierarchy.
The DisplayFolder property also applies to calculated measures and hierarchies.
The corresponding elements in the Analysis Management Objects (AMO) object model are Measure and
PerspectiveMeasure.
See Also
Objects (ASSL)
MeasureGroup Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a set of measures at the same level of granularity.
Syntax
<MeasureGroups>
<MeasureGroup> <!-- ancestor: Cube -->
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</<Create
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<LastProcessed>...</LastProcessed>
<Translations>...</Translations>
<Type>...</Type>
<State>...</State>
<MeasureQualification>...</MeasureQualification>
<Measures>...</Measures>
<DataAggregation>...</DataAggregation>
<Source>...</Source>
<StorageMode>...</StorageMode>
<StorageLocation>...</StorageLocation>
<IgnoreUnrelatedDimensions>...</IgnoreUnrelatedDimensions>
<ProactiveCaching>...</ProactiveCaching>
<EstimatedRows>...</EstimatedRows>
<ErrorConfiguration>...</ErrorConfiguration>
<EstimatedSize>...</EstimatedSize>
<ProcessingMode>...</ProcessingMode>
<Dimensions>...</Dimensions>
<Partitions>...</Partitions>
<AggregationPrefix>...</AggregationPrefix>
<ProcessingPriority>...</ProcessingPriority>
<AggregationDesigns>...</AggregationDesigns>
<Annotations>...</Annotations>
</MeasureGroup>
<!-- or -->
<MeasureGroup xsi:type="MeasureGroupBinding">...</MeasureGroup> <!-- ancestor: CubeBinding -->
<!-- or -->
<MeasureGroup xsi:type="PerspectiveMeasureGroup">...</MeasureGroup> <!-- ancestor: Perspective -->
</MeasureGroups>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
Cube
None
CubeBinding
MeasureGroupBinding
Perspective
PerspectiveMeasureGroup
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MeasureGroups
Child elements
See the table below.
ANCESTOR OR PARENT
CHILD ELEMENTS
Cube
AggregationDesigns, AggregationPrefix, Annotations,
CreatedTimestamp, DataAggregation, Description,
Dimensions, ErrorConfiguration, EstimatedRows,
EstimatedSize, ID, IgnoreUnrelatedDimensions,
LastProcessed, LastSchemaUpdate, MeasureQualification,
Measures, Name, Partitions, ProactiveCaching,
ProcessingMode, ProcessingPriority, Source, State,
StorageLocation, StorageMode, Translations, Type
CubeBinding
None
Perspective
None
Remarks
All the measures of a measure group must be sourced from a single table. A measure group can define default
bindings that can be overridden for each partition.
The MeasureGroup element defines details common to measure groups on regular cubes and virtual cubes.
Separate subtypes define the details specific to each type.
The State property of a MeasureGroup has the following values:
FullyProcessed if all partitions are processed.
PartiallyProcessed if at least one partition is processed.
Unprocessed if no partitions are processed.
The corresponding elements in the Analysis Management Objects (AMO) object model are MeasureGroup
and PerspectiveMeasureGroup.
See Also
Objects (ASSL)
Member Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains the name of a member of a Group element or of a Role element.
Syntax
<Members>
<Member>
<Name>...</Name>
</Member>
</Members>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Members
Child elements
Name
Remarks
The elements that correspond to the parents of Member in the Analysis Management Objects (AMO) object model
are Group and Role.
See Also
Objects (ASSL)
MiningModel Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a single data mining model.
Syntax
<MiningModels>
<MiningModel>
<Name>...</Name>
<ID>...</ID>
<Description>...</<Descrip
<Algorithm>...</Algorithm>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<LastProcessed>...</LastProcessed>
<AlgorithmParameters>...</AlgorithmParameters>
<AllowDrillThrough>...</AllowDrillThrough>
<Translations>...</Translations>
<Columns>...</Columns>
<State>...</State>
<MiningModelPermissions>...</MiningModelPermissions>
<Language>...</Language>
<Collation>...</Collation>
<Annotations>...</Annotations>
<ddl100_100:FoldingParameters> </FoldingParameters>
</MiningModel>
</MiningModels>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MiningModels
Child elements
Algorithm, AlgorithmParameters, AllowDrillThrough,
Annotations, Collation, Columns, CreatedTimestamp,
Description, ID, Language, LastProcessed, LastSchemaUpdate,
MiningModelPermissions, Name, State, Translations,
FoldingParameters
Remarks
The FoldingParameters element of the mining model is for internal use by the server, and is not supported for
use in DDL statements.
The corresponding element in the Analysis Management Objects (AMO) object model is MiningModel.
See Also
Objects (ASSL)
MiningModelPermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the permissions members of a Role element have on an individual MiningModel element.
Syntax
<MiningModelPermissions>
<MiningModelPermission xsi:type="Permission">
<!-- The following elements extend Permission -->
<AllowDrillThrough>...</AllowDrillThrough>
<AllowBrowsing>...</AllowBrowsing>
</MiningModelPermission>
</MiningModelPermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Permission
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MiningModelPermissions
Child elements
AllowBrowsing, AllowDrillThrough
Remarks
In SQL Server 2016, you can enable drillthrough on mining structures by adding the AllowDrillthrough
permission to the MiningStructurePermissions collection. If AllowDrillthrough is enabled on both the mining
structure and the mining model, any member of a role that has AllowDrillThrough Element (ASSL) permissions on
the model can query the data mining model, and return structure columns that were not included in the model, by
using the following syntax:
SELECT StructureColumn('<column name>') FROM <model>.CASES
Therefore, to protect sensitive data or personal information, you should grant AllowDrillthrough permission on a
mining model only when necessary. For more information, see AllowDrillThrough Element (ASSL).
The corresponding element in the Analysis Management Objects (AMO) object model is MiningModelPermission.
See Also
Objects (ASSL)
MiningStructure Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the structure for a set of mining models.
Syntax
<MiningStructures>
<MiningStructure>
<Name>...</Name>
<ID>...</ID>
<Description>...</<Description>
<Source>...</Source>
<CreatedTimestamp>...</<CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<LastProcessed>...</LastProcessed>
<Translations>...</Translations>
<Language>...</Language>
<Collation>...</Collation>
<ErrorConfiguration>...</ErrorConfiguration>
<CacheMode>...</CacheMode>
<Columns>...</Columns>
<State>...</State>
<HoldoutActualSize>...</HoldoutActualSize>
<HoldoutMaxCases>...</HoldoutMaxCases>
<HoldoutMaxPercent>...</HoldoutMaxPercent>
<HoldoutSeed>...</HoldoutSeed>
<MiningStructurePermissions>...</<MiningStructurePermissions>
<MiningModels>...</MiningModels>
<Annotations>...</Annotations>
</MiningStructure>
</MiningStructures>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MiningStructures
RELATIONSHIP
ELEMENT
Child elements
Annotations, CacheMode, Collation, Columns,
CreatedTimestamp, Description, ErrorConfiguration,
HoldoutActualSize,
HoldoutMaxCases,
HoldoutMaxPercent,
HoldoutSeed,
ID, Language, LastProcessed, LastSchemaUpdate,
MiningModels, MiningStructurePermissions, Name, Source,
State, Translations
Remarks
The mining structure defines the columns and the bindings. After defining a mining structure, you can use that
structure to define many mining models. The mining structure, and each mining model it contains, can be
processed independently.
NOTE
The holdout properties, HoldoutMaxCases, HoldoutMaxPercent, HoldoutSeed, and HoldoutActualSize, were
introduced in SQL Server 2008. They enable you to define a partition on a mining structure that acts as the test set for all
the mining models that are associated with the structure. SQL Server 2005 does not support these properties. Therefore, if
you try to use these properties on an instance of SQL Server 2005, Analysis Services will return an error.
Drillthrough to Structure Columns
In SQL Server 2008, a new permission element has been added to the MiningStructurePermissions Element
(ASSL) collection. If you add AllowDrillthrough permission to both the MiningStructurePermissions and
MiningModelPermission collections, drillthrough is enabled from the mining model to the structure, in such a way
that members of a role that has AllowDrillthrough permissions on the model can query the data mining model,
and return structure columns that were not included in the model.
Therefore, to protect sensitive data or personal information, you should construct your data source view to mask
sensitive information, and grant AllowDrillthrough permission on a mining structure only when necessary. For
more information, see AllowDrillThrough Element (ASSL).
The corresponding element in the Analysis Management Objects (AMO) object model is MiningStructure.
See Also
MiningModel Element (ASSL)
Objects (ASSL)
SELECT (DMX)
MiningStructurePermission Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the permissions that members of a Role element have on an individual MiningStructure element.
Syntax
<MiningStructurePermissions>
<MiningStructurePermission xsi:type="Permission">
<AllowDrillthrough>...</AllowDrillthrough>
<!-- This element also inherits all the child elements listed in Permission -->
</MiningStructurePermission>
</MiningStructurePermissions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Permission
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MiningStructurePermissions
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is
MiningStructurePermission.
In SQL Server 2016, the permission AllowDrillthrough has been extended to apply to a mining structure. When
you assign this permission to a role, any user who is a member of that role can directly query the mining structure
by using the following syntax:
SELECT <structure column list> FROM <structure>.CASES
Moreover, if AllowDrillthrough is enabled on both the mining structure and the mining model, users can query
structure columns that were not included in the mining model by using the following syntax:
SELECT StructureColumn('<structure column name>' FROM <model>.CASES
For example, you create a model using only columns for customer key, customer income, and customer purchases.
By using drillthrough, a user can return other structure columns that were not included in the mining model, such
as customer contact information.
Therefore, to protect sensitive data or personal information, you should construct your data source view to mask
personal information and grant AllowDrillthrough permission on a structure only when necessary.
For more information, see Drillthrough Queries (Data Mining).
See Also
AllowDrillThrough
AllowDrillThrough
Objects (ASSL)
ModelingFlag Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains a modeling flag for a column in a mining structure or a mining model.
Syntax
<ModelingFlags>
<ModelingFlag xsi:type="MiningModelingFlag">...</ModelingFlag>
</ModelingFlags>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
MiningModelingFlag
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
ModelingFlags
Child elements
None
Remarks
A closely related element in the Analysis Management Objects (AMO) object model is MiningModelingFlags.
See Also
MiningModel Element (ASSL)
MiningStructure Element (ASSL)
Objects (ASSL)
NameColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Identifies the column that provides the name of the parent element.
Syntax
<DimensionAttribute> <!-- or ScalarMiningStructureColumn -->
...
<NameColumn xsi:type="DataItem">...</NameColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
See the table below.
Cardinality
0-1: Optional element that can occur once and only once.
ANCESTOR OR PARENT
DEFAULT VALUE
DimensionAttribute
Varies (see Remarks)
ScalarMiningStructureColumn
None
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute, ScalarMiningStructureColumn
Child elements
None
Remarks
If the KeyColumns collection of DimensionAttribute contains a single KeyColumn element representing a key
column with a string data type, the same DataItem values are used as default values for the NameColumn
element.
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The elements that correspond to the parents of NameColumn in the Analysis Management Objects (AMO) object
model are DimensionAttribute and ScalarMiningStructureColumn.
See Also
Objects (ASSL)
NamingTemplateTranslation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Provides a localized translation of the NamingTemplate element for a parent DimensionAttribute data type.
Syntax
<NamingTemplateTranslations>
<NamingTemplateTranslation xsi:type="Translation">...</NamingTemplateTranslation>
</NamingTemplateTranslations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Translation
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
NamingTemplateTranslations
Child elements
None
Remarks
The value of the NamingTemplateTranslation element is used only by parent attributes (in other words, the
value of the Usage element of the DimensionAttribute parent is set to Parent) to store the localized translation of
the NamingTemplate value for a given language.
The element that corresponds to the parent of NamingTemplateTranslations in the Analysis Management
Objects (AMO) object model is DimensionAttribute.
See Also
NamingTemplate Element (ASSL)
Objects (ASSL)
Objects (ASSL)
3/24/2017 • 6 min to read • Edit Online
This reference section contains syntax and usage information for each element that acts as an
object in the Analysis Services Scripting Language (ASSL) schema.
Although the ASSL schema contains only XML elements, from a developer's point of view, the
elements described in this section correspond to objects, such as Database, Cube, and
Dimension objects, in the hierarchy of objects contained by an instance of Microsoft SQL Server
Analysis Services.
Objects are never leaf-level elements in the ASSL schema, but have child elements and elements
that correspond to object properties.
In a few cases, a leaf-level element in the schema that may appear to be a property is classified as
an object because the element's type is an object type. For example, the Source of a Dimension
object is of type DimensionBinding.
In This Section
ELEMENT
DESCRIPTION
Account Element (ASSL)
Contains details about an account type within a
Database element.
Action Element (ASSL)
Contains information about an action available in a
Cube element or a Perspective element.
Aggregation Element (ASSL)
Defines a single aggregation for a Partition element.
AggregationDesign Element (ASSL)
Defines a set of aggregation definitions that can be
shared across multiple partitions in a database.
AggregationInstance Element (ASSL)
Defines an aggregation instance for a partition.
AlgorithmParameter Element (ASSL)
Defines a parameter for the algorithm used by a
MiningModel element.
AllMemberTranslation Element (ASSL)
Contains a translation for the caption of the All
member of a Hierarchy element.
Annotation Element (ASSL)
Contains elements that are used to extend the ASSL
schema.
Assembly Element (ASSL)
Represents a Microsoft .NET Framework assembly or
a COM dynamic link library (DLL) associated with a
Server element or a Database element.
Attribute Element (ASSL)
Contains the description of an attribute.
ELEMENT
DESCRIPTION
AttributeAllMemberTranslation Element (ASSL)
Contains a translation for the caption of the All
member of a DimensionAttribute element.
AttributePermission Element (ASSL)
Defines the permissions that members of a Role
element have on the attributes of an individual
dimension in a Cube element.
AttributeRelationship Element (ASSL)
Provides details about the relationship between two
attributes.
Block Element (ASSL)
Contains all or a portion of the binary contents of a
ClrAssemblyFile element.
Calculation Element (ASSL)
Asssociates a calculation with a Perspective element.
CalculationProperty Element (ASSL)
Contains a collection of user interface properties for a
calculation used in an MdxScript element.
CaptionColumn Element (ASSL)
Defines the column that provides the caption for the
attribute.
CellPermission Element (ASSL)
Describes the permissions that members of a Role
element have on individual cells within a Cube
element.
Column Element (ASSL)
Describes a column in the collection of columns
associated with the parent element.
Command Element (ASSL)
Defines a command that is available for use within
the context of the parent element of the Commands
collection.
Cube Element (ASSL)
Defines a regular, virtual, or linked cube in an
Analysis Services Database element.
CubePermission Element (ASSL)
Defines the permissions of the members of a
particular Role element in a specific Cube element.
CustomRollupColumn Element (ASSL)
Defines the details of the column that provide a
custom rollup formula.
CustomRollupPropertiesColumn Element (ASSL)
Defines the details of a column that provide the
properties of a custom rollup formula.
Data Element (ASSL)
Contains (in the collection of child Block elements)
the binary contents of a ClrAssemblyFile element.
Database Element (ASSL)
Defines an Analysis Services database.
DatabasePermission Element (ASSL)
Defines the default permissions in a Database
element for a specific Role element.
DataSource Element (ASSL)
Defines a data source in a Database element.
ELEMENT
DESCRIPTION
DataSourcePermission Element (ASSL)
Defines the default permissions in a DataSource data
type for a specific Role element.
DataSourceView Element (ASSL)
Defines a data source view used by a Database
element.
Dimension Element (ASSL)
Defines a dimension.
DimensionPermission Element (ASSL)
Defines the permissions that belong to a particular
Role element for a specific database dimension or
cube dimension.
ErrorConfiguration Element (ASSL)
Specifies settings for handling errors that can occur
when the parent element is processed.
Event Element (ASSL)
Defines an event to be captured as part of a Trace
element.
File Element (ASSL)
Defines one of the files that compose a ClrAssembly
element.
ForeignKeyColumn Element (ASSL)
Identifies the join to a parent table for a relational
data source.
Group Element (ASSL)
Defines a group of members bound to an attribute.
Hierarchy Element (ASSL)
Defines a hierarchy in a dimension.
IncrementalProcessingNotification Element (ASSL)
Contains information for the ProactiveCaching
element about a query to execute to determine the
progress of incremental processing.
KeyColumn Element (ASSL)
Contains the definition of a column that is, or is part
of, the key for an attribute.
Kpi Element (ASSL)
Defines a key performance indicator (KPI) within a
Cube element or a Perspective element.
Level Element (ASSL)
Defines a level in a Hierarchy element.
MdxScript Element (ASSL)
Contains information about a Multidimensional
Expressions (MDX) script that is associated with a
Cube element.
Measure Element (ASSL)
Defines a measure.
MeasureGroup Element (ASSL)
Defines a set of measures at the same level of
granularity.
Member Element (ASSL)
Contains the name of a member of a Group element
or of a Role element.
MiningModel Element (ASSL)
Defines a single data mining model.
ELEMENT
DESCRIPTION
MiningModelPermission Element (ASSL)
Defines the permissions members of a Role element
have on an individual MiningModel element.
MiningStructure Element (ASSL)
Defines the structure for a set of mining models.
MiningStructurePermission Element (ASSL)
Defines the permissions that members of a Role
element have on an individual MiningStructure
element.
ModelingFlag Element (ASSL)
Contains a modeling flag for a column in a mining
structure or a mining model.
NameColumn Element (ASSL)
Identifies the column that provides the name of the
parent element.
NamingTemplateTranslation Element (ASSL)
Provides a localized translation of the
NamingTemplate element for a parent
DimensionAttribute data type.
Partition Element (ASSL)
Defines a partition of a MeasureGroup element or a
partition binding in an out-of-line
MeasureGroupBindingelement.
Perspective Element (ASSL)
Defines details for a perspective of a Cube element.
ProactiveCaching Element (ASSL)
Defines proactive caching settings for the parent
element.
QueryNotification Element (ASSL)
Contains information for the ProactiveCaching
element about a query to execute to determine
whether a data source has been modified.
ReportFormatParameter Element (ASSL)
Contains the name and value of a parameter that
specifies how a Microsoft SQL Server Reporting
Services report is formatted at run time.
ReportParameter Element (ASSL)
Contains the name and value of a parameter that is
passed to a Reporting Services report at run time.
Role Element (ASSL)
Contains information about a security role.
Server Element (ASSL)
Describes an instance of Analysis Services.
ServerProperty Element (ASSL)
Defines a server property associated with a Server
element.
SkippedLevelsColumn Element (ASSL)
Provides the details of a column that stores the
number of skipped (empty) levels between each
member and its parent.
SourceMeasureGroup Element (ASSL)
Identifies the measure group that serves as the data
source for a mining structure column.
ELEMENT
DESCRIPTION
TableNotification Element (ASSL)
Contains information for the ProactiveCaching
element about a table or view in a data source that
has been modified.
Trace Element (ASSL)
Defines a trace that can be queried.
Translation Element (ASSL)
Provides a localized translation for the parent of the
Translations collection.
UnaryOperatorColumn Element (ASSL)
Defines the details of a column providing a unary
operator.
UnknownMemberTranslation Element (ASSL)
Contains a translation for the caption of the
UnknownMember element for a Dimension element.
ValueColumn Element (ASSL)
Identifies the column that provides the value of the
parent element.
See Also
Analysis Services Scripting Language XML Element Hierarchy (ASSL)
Partition Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a partition of a MeasureGroup element or a partition binding in an out-of-line MeasureGroupBinding
element.
Syntax
<Partitions>
<Partition> <!-- ancestor: MeasureGroup -->
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Source>...</Source>
<ProcessingPriority>...</ProcessingPriority>
<AggregationPrefix>...</AggregationPrefix>
<StorageMode>...</StorageMode>
<ProcessingMode>...</ProcessingMode>
<ErrorConfiguration>...</ErrorConfiguration>
<StorageLocation>...</StorageLocation>
<RemoteDatasourceID>...</RemoteDatasourceID>
<Slice>...</Slice>
<ProactiveCaching>...</ProactiveCaching>
<Type>...</Type>
<EstimatedSize>...</EstimatedSize>
<EstimatedRows>...</EstimatedRows>
<CurrentStorageMode>...</CurrentStorageMode>
<AggregationDesignID>...</AggregationDesignID>
<AggregationInstances>...</AggregationInstances>
<AggregationInstanceSource>...</AggregationInstanceSource>
<LastProcessed>...</LastProcessed>
<State>...</State>
<Annotations>.../Annotations>
</Partition>
<!-- or -->
<Partition xsi:type="PartitionBinding"> <!-- ancestor: MeasureGroupBinding -->
</Partition>
</Partitions>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
See the table below.
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
ANCESTOR OR PARENT
DATA TYPE
MeasureGroup
None
MeasureGroupBinding
PartitionBinding
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Partitions
Child elements
See the table below.
ANCESTOR OR PARENT
CHILD ELEMENTS
MeasureGroup
AggregationDesignID, AggregationInstances,
AggregationInstanceSource, AggregationPrefix, Annotations,
CreatedTimestamp, CurrentStorageMode, Description,
ErrorConfiguration, EstimatedRows, EstimatedSize, ID,
LastProcessed, LastSchemaUpdate, Name, ProactiveCaching,
ProcessingMode, ProcessingPriority, RemoteDatasourceID,
Slice, Source, State, StorageLocation, StorageMode, Type
MeasureGroupBinding
None
Remarks
This element has the following validations under DeploymentMode value 2 (tabular server mode):
The following children elements are not supported and should not be used:
ProcessingPriority
AggregationPrefix
StorageLocation
ProcessingMode
ErrorConfiguration
StorageLocation
RemoteDatasourceID
Slice
ProactiveCaching
Type
CurrentStorageMode
AggregationDesignID
AggregationInstances
AggregationInstanceSource
An error might be thrown if any of the above elements is used.
The Source element only accepts Query binding.
The corresponding element in the Analysis Management Objects (AMO) object model is Partition.
See Also
Objects (ASSL)
Perspective Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines details for a perspective of a Cube element.
Syntax
<Perspectives>
<<Perspective>
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Translations>...</Translations>
<DefaultMeasure>...</DefaultMeasure>
<Dimensions>...</Dimensions>
<MeasureGroups>...</MeasureGroups>
<Calculations>...</Calculations>
<Kpis>...</Kpis>
<Actions>...</Actions>
<Annotations>...</Annotations>
</Perspective>
</Perspectives>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Perspectives
Child elements
Actions, Annotations, Calculations, CreatedTimestamp,
DefaultMeasure, Description, Dimensions, ID, Kpis,
LastSchemaUpdate, MeasureGroups, Name, Translations
Remarks
A perspective provides a subset of a cube, selecting the dimensions, hierarchies, attributes, and other details
that are to be included, and defining the slice of data to be included. A perspective is owned by a single cube. It
is not possible to override or add objects within a perspective; all dimensions, hierarchies, and other details
must exist in the underlying cube. It is not possible to include objects and mark them as not visible.
The corresponding element in the Analysis Management Objects (AMO) object model is Perspective.
See Also
Objects (ASSL)
ProactiveCaching Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines proactive caching settings for the parent element.
Syntax
<Cube> <!-- or Dimension, MeasureGroup, Partition -->
...
<ProactiveCaching>
<OnlineMode>...</OnlineMode>
<AggregationStorage>...</AggregationStorage>
<Source>...</Source>
<SilenceInterval>...</SilenceInterval>
<Latency>...</Latency>
<SilenceOverrideInterval>...</SilenceOverrideInterval>
<ForceRebuildInterval>...</ForceRebuildInterval>
<Enabled >...</Enabled>
</ProactiveCaching>
...
</Cube>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Cube, Dimension, MeasureGroup, Partition
Child elements
AggregationStorage, Enabled, ForceRebuildInterval, Latency,
OnlineMode, SilenceInterval, SilenceOverrideInterval, Source
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is ProactiveCaching.
See Also
Objects (ASSL)
QueryNotification Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information for the ProactiveCaching element about the query to execute to determine whether a data
source has been modified.
Syntax
<QueryNotifications>
<QueryNotification>
<Query>...</Query>
...</QueryNotification>
</QueryNotifications>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
QueryNotifications
Child elements
Query
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is QueryNotification.
See Also
ProactiveCachingQueryBinding Data Type (ASSL)
Objects (ASSL)
ReportFormatParameter Element - ASL
3/24/2017 • 1 min to read • Edit Online
Contains the name and value of a parameter that specifies how a Microsoft SQL Server Reporting Services report is
formatted at run time.
Syntax
<ReportFormatParameters>
<ReportFormatParameter>
<Name>...</Name>
<Value>...</Value>
</ReportFormatParameter>
</ReportFormatParameters>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent element
ReportFormatParameters
Child elements
Name, Value
Remarks
The element that corresponds to the parent of ReportFormatParameter in the Analysis Management Objects
(AMO) object model is ReportAction.
See Also
ReportAction Data Type (ASSL)
Action Element (ASSL)
Objects (ASSL)
ReportParameter Element - ASSL
3/24/2017 • 1 min to read • Edit Online
Contains the name and value of a parameter that is passed to a Microsoft Reporting Services report at run time.
Syntax
<ReportParameters>
<ReportParameter>
<Name>...</Name>
<Value>...</Value>
</ReportParameter>
</ReportParameters>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
ReportParameters
Child elements
Name, Value
Remarks
The Value element must contain a Multidimensional Expressions (MDX) expression.
The corresponding element in the Analysis Management Objects (AMO) object model is ReportParameter.
See Also
ReportAction Data Type (ASSL)
Action Element (ASSL)
Objects (ASSL)
Role Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information about a security role.
Syntax
<Roles>
<Role>
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreateTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Members>...</Members>
<Annotations>...</Annotations>
</Role>
</Roles>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Roles
Child elements
Annotations, CreatedTimestamp, Description, ID,
LastSchemaUpdate, Members, Name
Remarks
The definition of the role includes the users that are members of the role.
The corresponding element in the Analysis Management Objects (AMO) object model is Role.
See Also
Database Element (ASSL)
Server Element (ASSL)
Objects (ASSL)
Server Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Describes an instance of Microsoft SQL Server Analysis Services.
Syntax
<Server>
<!—These elements are common to each major object -->
<Name>...</Name>
<ID>...</ID>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<Description>...</Description>
<Annotations>...</Annotations>
<!-- server elements or properties -->
<ProductName>...</ProductName>
<Edition>...</Edition>
<EditionId>...</Edition>
<Version>...</Version>
<ServerMode>...</ServerMode>
<ProductLevel>...</Databases>
<Databases>...</Databases>
<Assemblies>...</Assemblies>
<Traces>...</Traces>
<Roles>...</Roles>
<ServerProperties>...</ServerProperties>
</Server>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
1-1: Required element that occurs once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
None
Child elements
Name, ID, CreatedTimestamp, LastSchemaUpdate,
Description, Annotations, ProductName, Edition, EditionId,
Version, ServerMode, ProductLevel, Databases, Assemblies,
Traces, Roles, ServerProperties>
Remarks
The Server element represents an instance of Analysis Services, and serves as the topmost node in the Analysis
Services Scripting Language (ASSL) node hierarchy.
The corresponding element in the Analysis Management Objects (AMO) object model is Server.
See Also
Objects (ASSL)
ServerProperty Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines a server property associated with a Server element.
Syntax
<ServerProperties>
<ServerProperty>
<Name>...</Name>
<Value>...</Value>
<RequiresRestart>...</RequiresRestart>
<PendingValue>...</PendingValue>
<DefaultValue>...</DefaultValue>
<DisplayFlag>...</DisplayFlag>
</ServerProperty>
</ServerProperties>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
ServerProperties
Child elements
DefaultValue, DisplayFlag, Name, PendingValue,
RequiresRestart, Value
Remarks
The ServerProperty element describes the data and metadata for a server property associated with an instance of
Microsoft SQL Server Analysis Services. Unlike elements contained by other collections in the Analysis Services
Scripting Language (ASSL), the ServerProperty element uses name/value pairs instead of explicitly named
elements to describe server properties. The name/value pairs provide for flexibility and extensibility.
The corresponding element in the Analysis Management Objects (AMO) object model is ServerProperty.
See Also
Server Element (ASSL)
Objects (ASSL)
SkippedLevelsColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
NOTE
This feature is discontinued in this version of Microsoft SQL Server. Avoid using this feature in new development work, and
plan to modify applications that currently use this feature.
Provides the details of a column that stores the number of skipped (empty) levels between each member and its
parent.
Syntax
<DimensionAttribute>
...
<SkippedLevelsColumn xsi:type="DataItem">...</SkippedLevelsColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute
Child elements
None
Remarks
The SkippedLevelsColumn element is applicable only to parent attributes (in other words, the value of the Usage
element for the DimensionAttribute parent is set to Parent). The SkippedLevelsColumn element contains the
column or attribute for the parent attribute that stores the number of skipped levels between each member and its
parent member. This allows parent-child hierarchies that are based on the parent attribute to skip levels between
members. The values contained in this column or attribute must be nonnegative integers; otherwise, a processing
error occurs. If the SkippedLevelsColumn element is not specified or contains no value, the current member has
a level depth one below its parent member.
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem table, see DataItem Data Type (ASSL).
The element that corresponds to the parent of SkippedLevelsColumn in the Analysis Management Objects
(AMO) object model is DimensionAttribute.
See Also
Attributes Element (ASSL)
Dimension Element (ASSL)
Objects (ASSL)
SourceMeasureGroup Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Identifies the measure group that serves as the data source for a mining structure column.
Syntax
<MiningStructureColumn xsi:type="TableMiningStructureColumn">
...
<SourceMeasureGroup xsi:type="MeasureGroupBinding">...</SourceMeasureGroup>
...
</MiningStructureColumn>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
MeasureGroupBinding
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
MiningStructureColumn of type TableMiningStructureColumn
Child elements
None
Remarks
For more information about the Binding type, including tables of Analysis Services Scripting Language (ASSL)
objects of the Binding type and the inheritance hierarchy of Binding types, see Binding Data Type (ASSL).
For an overview of data bindings in ASSL, see Data Sources and Bindings (SSAS Multidimensional).
The elements that correspond to the parents of SourceMeasureGroup in the Analysis Management Objects
(AMO) object model are MiningStructureColumn and TableMiningStructureColumn.
See Also
Objects (ASSL)
TableNotification Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains information for the ProactiveCaching element about a table or view in a data source that has been
modified.
Syntax
<TableNotifications>
<TableNotification>
<DbTableName>...</DbTableName>
<DbSchemaName>...</DbSchemaName>
...</TableNotification>
</TableNotifications>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
1-n: Required element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
TableNotifications
Child elements
DbSchemaName, DbTableName
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is TableNotification.
See Also
ProactiveCachingTablesBinding Data Type (ASSL)
ProactiveCachingObjectNotificationBinding Data Type (ASSL)
ProactiveCachingBinding Data Type (ASSL)
Objects (ASSL)
Trace Element (ASSL)
4/4/2017 • 1 min to read • Edit Online
Defines a trace that can be queried.
Syntax
Profiler syntax
<Traces>
<Trace>
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<LogFileName>...</LogFileName>
<LogFileAppend>...</LogFileAppend>
<LogFileSize>...</LogFileSize>
<Audit>...</Audit>
<LogFileRollover>...</LogFileRollover>
<AutoRestart>...</AutoRestart>
<StopTime>...</StopTime>
<Filter>...</Filter>
<Events>...</Events>
<Annotations>...</Annotations>
</Trace>
</Traces>
Extended Events syntax
<Traces>
<Trace>
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<CreatedTimestamp>...</CreatedTimestamp>
<LastSchemaUpdate>...</LastSchemaUpdate>
<AutoRestart>...</AutoRestart>
<XEvent>...</XEvent>
<Annotations>...</Annotations>
</Trace>
</Traces>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
None
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Traces
Child elements
Annotations, Audit, AutoRestart, CreatedTimestamp,
Description, Events, Filter, ID, LastSchemaUpdate,
LogFileAppend, LogFileName, LogFileRollover, LogFileSize,
Name, StopTime
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Trace.
See Also
Server Element (ASSL)
Objects (ASSL)
Translation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Provides a localized translation for the parent of the Translations collection.
Syntax
<Translations>
<Translation xsi:type="Translation">...</Translation>
<!-- or -->
<Translation xsi:type="AttributeTranslation">...</Translation>
</Translations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Translation, AttributeTranslation
Default value
None
Cardinality
0-n: Optional element that can occur more than once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
Translations
Child elements
None
Remarks
The corresponding element in the Analysis Management Objects (AMO) object model is Translation.
See Also
Objects (ASSL)
UnaryOperatorColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Defines the details of a column providing a unary operator.
Syntax
<DimensionAttribute>
...
<UnaryOperatorColumn xsi:type="DataItem">...</UnaryOperatorColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute
Child elements
None
Remarks
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The element that corresponds to the parent of UnaryOperatorColumn in the Analysis Management Objects
(AMO) object model is DimensionAttribute.
See Also
Objects (ASSL)
UnknownMemberTranslation Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Contains a translation for the caption of the UnknownMember element for a Dimension element.
Syntax
<UnknownMemberTranslations>
<UnknownMemberTranslation xsi:type="Translation">...</UnknownMemberTranslation>
</UnknownMemberTranslations>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
Translation
Default value
None
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
UnknownMemberTranslations
Child elements
None
Remarks
The element that corresponds to the parent of UnknownMemberTranslation in the Analysis Management
Objects (AMO) object model is Dimension.
See Also
Translation Element (ASSL)
Objects (ASSL)
ValueColumn Element (ASSL)
3/24/2017 • 1 min to read • Edit Online
Identifies the column that provides the value of the parent element.
Syntax
<DimensionAttribute>
...
<ValueColumn xsi:type="DataItem">...</ValueColumn>
...
</DimensionAttribute>
Element Characteristics
CHARACTERISTIC
DESCRIPTION
Data type and length
DataItem
Default value
Varies (see Remarks)
Cardinality
0-1: Optional element that can occur once and only once.
Element Relationships
RELATIONSHIP
ELEMENT
Parent elements
DimensionAttribute
Child elements
None
Remarks
If the NameColumn element of DimensionAttribute is specified, the same DataItem values are used as default
values for the ValueColumn element. If the NameColumn element of DimensionAttribute is not specified and
the KeyColumns collection of DimensionAttribute contains a single KeyColumn element representing a key
column with a string data type, the same DataItem values are used as default values for the ValueColumn
element.
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL)
objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The elements that correspond to the parents of NameColumn in the Analysis Management Objects (AMO) object
model are DimensionAttribute and ScalarMiningStructureColumn.
See Also
Objects (ASSL)