共用方式為


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 協助