PipelineBuffer.SetDateTime(Int32, DateTime) 메서드

정의

열에 PipelineBuffer DateTime 값을 할당합니다.

public:
 void SetDateTime(int columnIndex, DateTime value);
public void SetDateTime(int columnIndex, DateTime value);
member this.SetDateTime : int * DateTime -> unit
Public Sub SetDateTime (columnIndex As Integer, value As DateTime)

매개 변수

columnIndex
Int32

버퍼 행의 열의 인덱스입니다.

value
DateTime

버퍼 열에 할당된 값입니다.

설명

이 메서드는 SetDateTime 매개변수가 지정한 columnIndex 버퍼 컬럼에 값을 할당합니다DateTime.

이 방법은 다음과 같은 통합 서비스 데이터 유형과 함께 작동합니다:

값이 DateTime 열이 DT_DBTIMESTAMP2 지원하는 것보다 더 많은 숫자가 필요하면, 데이터가 잘려나고 a DoesNotFitBufferException 가 발생합니다.

버퍼 열의 가 DataType 가 아니 DT_DATE면 , DT_DBTIMESTAMP, DT_DBTIMESTAMP2, 가 DT_FILETIMEUnsupportedBufferDataTypeException 발생한다.

통합 서비스 데이터 타입의 전체 목록과 각 타입에 사용할 클래스의 PipelineBuffer 대응 Get 하는 메서드 및 Set 방법은 Data Flow에서 데이터 타입 작업 항목을 참조하세요.

적용 대상