Delen via


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

Return Value

Type: System.Data.SqlClient.SqlDataReader

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

ExecuteReader Overload

Microsoft.TeamFoundation.Framework.Server Namespace