Freigeben über


2.2.4.2.2.10 MdxScript

This complex type represents a script containing MDX calculations.

   <xsd:complexType name="MdxScript">
     <xsd:all>
       <!--These elements are common to each MajorObject-->
       <xsd:element name="Name"  type="xsd:string" />
       <xsd:element name="ID"  type="xsd:string" minOccurs="0" />
       <xsd:element name="CreatedTimestamp" type="xsd:dateTime" minOccurs="0" />
       <xsd:element name="LastSchemaUpdate" type="xsd:dateTime" minOccurs="0" />
       <xsd:element name="Description" type="xsd:string" minOccurs="0" />
       <xsd:element name="Annotations"  minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation" type="Annotation" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <!--Extended elements for MdxScript object-->
       <xsd:element name="Commands" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Command"  type="Command" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="DefaultScript" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="CalculationProperties" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="CalculationProperty"  type="CalculationProperty"
                          minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

The following table describes the elements that are included in the XSD schema for MdxScript. Those elements common to all major objects are described in section 2.2.4.2.2.1.

Element

Read-Only

Default value

Description

Commands

Empty

A collection of objects of type Command.

DefaultScript

True

When true, indicates that this script is the default script; otherwise, false.

CalculationProperties

Empty

A collection of objects of type CalculationProperty.