dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommand Class / ExecuteXmlReader Method

In This Topic
ExecuteXmlReader Method
In This Topic
Sends the CommandText to the SqlConnection and builds an XmlReader object.
Syntax
'Declaration
 
Public Function ExecuteXmlReader() As XmlReader
 

Return Value

Remarks
The CommandText property ordinarily specifies a Transact-SQL statement with a valid FOR XML clause. However, CommandText can also specify a statement that returns NTEXT or NVARCHAR data that contains valid XML, or the contents of a column defined with the XML data type.
See Also