Freigeben über


2.2.4.2.2.20.8 DimensionBinding

The DimensionBinding complex type represents a binding to a dimension.      

   <xsd:complexType name="DimensionBinding" >
     <xsd:complexContent>
       <xsd:extension base="Binding">
         <xsd:all>
           <xsd:element name="DataSourceID" type="xsd:string"/>
           <xsd:element name="DimensionID" type="xsd:string"/>
           <xsd:element name="Persistence" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="NotPersisted" />
                 <xsd:enumeration value="Metadata" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="RefreshPolicy" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="ByQuery" />
                 <xsd:enumeration value="ByInterval" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="RefreshInterval" type="xsd:duration"  minOccurs="0" />
         </xsd:all>
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>

Element

Read-Only

Default value

Description

DataSourceID

[Required]

The ID of the DataSource.

DimensionID

[Required]

The ID of the Dimension.

Persistence

"NotPersisted"

Determines which parts of the bound source data are dynamic and are checked for updates by using the frequency that is specified by the RefreshPolicy element. Enumeration values are as follows:

  • NotPersisted - Source metadata, members, and data are all dynamic.

  • Metadata - Source metadata is static, but members and data are dynamic.

RefreshPolicy

"ByQuery"

Determines how often the dynamic part of the dimension or measure group (as specified by the Persistence element) is checked for changes. Enumeration values are as follows:

  • ByQuery - Every query checks to see whether the source data has changed.

  • ByInterval - Source data is checked for changes only at the interval that is specified by the RefreshInterval element.

RefreshInterval

Specifies the interval at which the dynamic part of the dimension or measure group is refreshed. The value -10000000 is interpreted to mean infinite.