System.Data.Generic
DataSourceExecuteXmlReader Method |
Executes the Query against the datasource and returns a XML reader.
Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)

public XmlReader ExecuteXmlReader( string SQL )
Public Function ExecuteXmlReader ( SQL As String ) As XmlReader
public: XmlReader^ ExecuteXmlReader( String^ SQL )
member ExecuteXmlReader : SQL : string -> XmlReader
Parameters
- SQL
- Type: SystemString
SQL query to execute.
Return Value
Type: XmlReaderXmlReader.

Exception | Condition |
---|---|
ArgumentNullException | In case the SQL is null. |
SqlException | In case the underlying connection cause an exception. |

