Properties Element (XMLA)

Contains XML for Analysis (XMAL) properties used by the Discover and Execute methods.

语法

<Discover> <!-- or Execute -->
...
   <Properties>
      <PropertyList>...</PropertyList>
   </Properties>
...
</Discover>

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

Discover, Execute

Child elements

PropertyList

备注

The Properties element represents XMLA properties used to control aspects of the Discover and Execute methods, such as defining the information required to connect to the data source, specifying the return format of the result set, or specifying the locale in which the data should be formatted.

The available properties and their values can be obtained by using the DISCOVER_PROPERTIES request type with the Discover method.

示例

<Properties>
   <PropertyList>
      <DataSourceInfo>
         Provider=MSOLAP;Data Source=local;
      </DataSourceInfo>
      <Catalog>
         Foodmart 2000
      </Catalog>
      <Format>
         Multidimensional
      </Format>
   </PropertyList>
</Properties>

请参阅

概念

Properties (XMLA)

帮助和信息

获取 SQL Server 2005 帮助