Compartilhar via


2.2.4.2.2.20.7 CubeAttributeBinding

This complex type represents a binding to a CubeAttribute.

   <xsd:complexType name="CubeAttributeBinding" >
     <xsd:complexContent>
       <xsd:extension base="Binding" >
         <xsd:all>
           <xsd:element name="CubeID" type="xsd:string"/>
           <xsd:element name="CubeDimensionID" type="xsd:string"/>
           <xsd:element name="AttributeID" type="xsd:string"/>
           <xsd:element name="Type" >
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="All" />
                 <xsd:enumeration value="Key" />
                 <xsd:enumeration value="Name" />
                 <xsd:enumeration value="Value" />
                 <xsd:enumeration value="Translation" />
                 <xsd:enumeration value="UnaryOperator" />
                 <xsd:enumeration value="SkippedLevels" />
                 <xsd:enumeration value="CustomRollup" />
                 <xsd:enumeration value="CustomRollupProperties" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="Ordinal" minOccurs="0">
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="Ordinal"  type="xsd:integer"
                              minOccurs="0" maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
         </xsd:all>
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>

Element

Read-Only

Default value

Description

CubeID

[Required]

The ID of the Cube.

CubeDimensionID

[Required]

The ID of the CubeDimension.

AttributeID

[Required]

The ID of the CubeAttribute.

Type

[Required]

Indicates the part of the Attribute to bind to. For more information about the enumeration values, see section 2.2.4.2.2.20.5.

Ordinal

Zero

When the binding is to a collection of objects, the ordinal indicates the ordinal number within that collection to bind to. (Applies to KeyColumns and Translations.)