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.