ExecuteXmlReader method

Description

Executes a SQL statement with a valid FOR XML clause, that returns a result set. ExecuteXmlReader can also be called with a statement that returns one text column that contains XML.

Syntax 1

XmlReader ExecuteXmlReader( )

Parameters

None.

Return value

The result set as an XmlReader object.

Usage

The statement is the current AseCommand object, with CommandText and Parameters as needed.

See also

XmlReader in the Microsoft .NET documentation.