Executes a sql statement against the connection and returns an instance of SqlDataReader class.
Namespace: SSIS.TestAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
| C# |
|---|
public SqlDataReader ExecuteReader( string commandText ) |
| Visual Basic |
|---|
Public Function ExecuteReader ( _ commandText As String _ ) As SqlDataReader |
| Visual C++ |
|---|
public: SqlDataReader^ ExecuteReader( String^ commandText ) |
Parameters
- commandText
- Type: System..::..String
Sql command to execute.