DbDataAdapter.GetBatchedParameter(Int32, Int32) 메서드

정의

IDataParameter 현재 일괄 처리의 명령 중 하나에서 반환합니다.

protected:
 virtual System::Data::IDataParameter ^ GetBatchedParameter(int commandIdentifier, int parameterIndex);
protected virtual System.Data.IDataParameter GetBatchedParameter(int commandIdentifier, int parameterIndex);
abstract member GetBatchedParameter : int * int -> System.Data.IDataParameter
override this.GetBatchedParameter : int * int -> System.Data.IDataParameter
Protected Overridable Function GetBatchedParameter (commandIdentifier As Integer, parameterIndex As Integer) As IDataParameter

매개 변수

commandIdentifier
Int32

매개 변수를 검색할 명령의 인덱스입니다.

parameterIndex
Int32

명령 내의 매개 변수 인덱스입니다.

반품

지정된 형식입니다 IDataParameter .

예외

어댑터는 일괄 처리를 지원하지 않습니다.

설명

에서 DbDataAdapter이 메서드는 을 throw합니다 NotSupportedException. 이 메서드를 재정의하여 DbDataAdapter 상속하는 클래스는 일괄 처리를 지원합니다.

상속자 참고

이 메서드는 보호되며 .NET Framework 데이터 공급자가 사용하도록 설계되었습니다.

일괄 처리에서 DbDataAdapter 상속되는 클래스가 일괄 처리를 지원하는 경우 해당 클래스는 사용자가 일괄 처리를 실행할 수 있도록 이 메서드를 재정의합니다. 구현은 제공된 명령을 사용하여 commandIdentifier 요청된 명령을 찾은 다음 parameterIndex 제공된 매개 변수를 찾습니다. 예를 들어 commandIdentifier 0과 parameterIndex 0 중 1은 일괄 처리의 첫 번째 명령에서 첫 번째 매개 변수를 반환합니다.

적용 대상

추가 정보