共用方式為


EmptyResult Data Type (XMLA)

Defines a derived data type that represents a root element that does not return data from a Discover or Execute method call.

Namespace urn:schemas-microsoft-com:xml-analysis:empty

語法

<root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
   <!-- All elements are inherited from Resultset -->
</root>

Data Type Characteristics

Characteristic Description

Base data types

Resultset

Derived data types

None

Data Type Relationships

Relationship Element

Parent elements

None

Child elements

None

Derived elements

root

備註

Some XML for Analysis (XMLA) commands are not expected to return a result, or could not return a result because of an error. XMLA commands that do not return a result return the EmptyResult data type, a namespace on the root element.

範例

The following example represents a root element returned for an empty result.

<return>
   <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"/>
</return>

請參閱

其他資源

XML Data Types (XMLA)

說明及資訊

取得 SQL Server 2005 協助