Partilhar via


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

Syntax

<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

Remarks

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.

Example

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

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

See Also

Other Resources

XML Data Types (XMLA)

Help and Information

Getting SQL Server 2005 Assistance