WarehouseDataAccessComponent.ExecuteReader Method
Namespace: Microsoft.TeamFoundation.Warehouse
Assembly: Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)
Syntax
'Декларация
Public Function ExecuteReader ( _
commandType As CommandType, _
sqlStatement As String, _
parameters As IEnumerable(Of SqlParameter) _
) As SqlDataReader
public SqlDataReader ExecuteReader(
CommandType commandType,
string sqlStatement,
IEnumerable<SqlParameter> parameters
)
public:
SqlDataReader^ ExecuteReader(
CommandType commandType,
String^ sqlStatement,
IEnumerable<SqlParameter^>^ parameters
)
member ExecuteReader :
commandType:CommandType *
sqlStatement:string *
parameters:IEnumerable<SqlParameter> -> SqlDataReader
public function ExecuteReader(
commandType : CommandType,
sqlStatement : String,
parameters : IEnumerable<SqlParameter>
) : SqlDataReader
Parameters
- commandType
Type: System.Data.CommandType
- sqlStatement
Type: System.String
- parameters
Type: System.Collections.Generic.IEnumerable<SqlParameter>
Return Value
Type: System.Data.SqlClient.SqlDataReader
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.