TeamFoundationSqlResourceComponent.ExecuteReader Method (CommandBehavior)
Executes the current SQL command and returns a reader.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function ExecuteReader ( _
behavior As CommandBehavior _
) As SqlDataReader
protected SqlDataReader ExecuteReader(
CommandBehavior behavior
)
protected:
SqlDataReader^ ExecuteReader(
CommandBehavior behavior
)
member ExecuteReader :
behavior:CommandBehavior -> SqlDataReader
protected function ExecuteReader(
behavior : CommandBehavior
) : SqlDataReader
Parameters
- behavior
Type: System.Data.CommandBehavior
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.