DbCommand.IDbCommand.ExecuteReader DbCommand.IDbCommand.ExecuteReader DbCommand.IDbCommand.ExecuteReader Method

정의

Connection에 대해 CommandText를 실행하고 IDataReader를 빌드합니다.Executes the CommandText against the Connection and builds an IDataReader.

오버로드

IDbCommand.ExecuteReader() IDbCommand.ExecuteReader() IDbCommand.ExecuteReader()

Connection에 대해 CommandText를 실행하고 IDataReader를 빌드합니다.Executes the CommandText against the Connection and builds an IDataReader.

IDbCommand.ExecuteReader(CommandBehavior) IDbCommand.ExecuteReader(CommandBehavior) IDbCommand.ExecuteReader(CommandBehavior)

Connection에 대해 CommandText를 실행하고 CommandBehavior 값 중 하나를 사용하여 IDataReader를 빌드합니다.Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.

IDbCommand.ExecuteReader() IDbCommand.ExecuteReader() IDbCommand.ExecuteReader()

Connection에 대해 CommandText를 실행하고 IDataReader를 빌드합니다.Executes the CommandText against the Connection and builds an IDataReader.

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader() = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader ();
Function ExecuteReader () As IDataReader Implements IDbCommand.ExecuteReader

반환

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며,This member is an explicit interface member implementation. DbCommand 인스턴스가 IDbCommand 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.It can be used only when the DbCommand instance is cast to an IDbCommand interface.

자세한 내용은 ExecuteReader을 참조하세요.For more information, see ExecuteReader.

추가 정보

IDbCommand.ExecuteReader(CommandBehavior) IDbCommand.ExecuteReader(CommandBehavior) IDbCommand.ExecuteReader(CommandBehavior)

Connection에 대해 CommandText를 실행하고 CommandBehavior 값 중 하나를 사용하여 IDataReader를 빌드합니다.Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader(System::Data::CommandBehavior behavior) = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader (System.Data.CommandBehavior behavior);
Function ExecuteReader (behavior As CommandBehavior) As IDataReader Implements IDbCommand.ExecuteReader

매개 변수

behavior
CommandBehavior CommandBehavior CommandBehavior

명령 동작을 지정하는 열거형 값 중 하나입니다.One of the enumeration values that specifies the command behavior.

반환

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며,This member is an explicit interface member implementation. DbCommand 인스턴스가 IDbCommand 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.It can be used only when the DbCommand instance is cast to an IDbCommand interface.

자세한 내용은 ExecuteReader을 참조하세요.For more information, see ExecuteReader.

추가 정보

적용 대상