PipelineBuffer.SetDateTime(Int32, DateTime) 메서드

정의

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

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 매개 변수로 DateTime 지정된 columnIndex 버퍼 열에 값을 할당합니다.

이 메서드는 다음 Integration Services 데이터 형식에서 작동합니다.

값에 열이 DateTime 지원하는 것보다 소수 자릿수 초 동안 더 많은 자릿수가 DT_DBTIMESTAMP2 필요한 경우 데이터가 잘리고 DoesNotFitBufferException 발생합니다.

버퍼 열이 DataType 아닌 DT_DATE경우 , DT_DBTIMESTAMP또는 DT_DBTIMESTAMP2DT_FILETIMEUnsupportedBufferDataTypeException 발생합니다.

Integration Services 데이터 형식의 전체 목록과 각 형식에 사용할 클래스의 PipelineBuffer 해당 GetSet 메서드는 Data Flow 데이터 형식 작업(Working with Data Types)을 참조하세요.

적용 대상