Share via


IDTSDesigntimeComponent100.SetOutputColumnDataTypeProperties 메서드

정의

public:
 void SetOutputColumnDataTypeProperties(int lOutputID, int lOutputColumnID, Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2014::DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage);
[System.Runtime.InteropServices.DispId(32)]
public void SetOutputColumnDataTypeProperties (int lOutputID, int lOutputColumnID, Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2014.DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage);
[<System.Runtime.InteropServices.DispId(32)>]
abstract member SetOutputColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2014.DataType * int * int * int * int -> unit
Public Sub SetOutputColumnDataTypeProperties (lOutputID As Integer, lOutputColumnID As Integer, eDataType As DataType, lLength As Integer, lPrecision As Integer, lScale As Integer, lCodePage As Integer)

매개 변수

lOutputID
Int32
lOutputColumnID
Int32
eDataType
DataType
lLength
Int32
lPrecision
Int32
lScale
Int32
lCodePage
Int32
특성

설명

이 메서드의 매개 변수는 개별적으로 읽기 전용이며 이 메서드를 사용하여 설정해야 하는 개체의 IDTSOutputColumn100 속성입니다. 이러한 속성의 값이 서로 달라지므로 이 메서드가 필요합니다. 이러한 속성을 동시에 업데이트하는 메커니즘을 제공하고 구성 요소 및 데이터 흐름 태스크가 종속성을 적용할 수 있도록 합니다. 매개 변수는 eDataType 다른 매개 변수 값의 요구 사항을 나타냅니다.

다음 표에서는 출력 열의 데이터 형식 속성을 설정할 때 준수해야 하는 규칙을 나열합니다.

DataType 길이 확장 전체 자릿수 CodePage
DT_DECIMAL 0 0보다 크고 28보다 작거나 같습니다. 0 0
DT_CY 0 0 0 0
DT_NUMERIC 0 0보다 크고 28보다 작거나 같으며 전체 자릿수보다 작습니다. 1보다 크거나 같고 38보다 작거나 같습니다. 0
DT_BYTES 0보다 큽니다. 0 0 0
DT_STR 0보다 크고 8000보다 작습니다. 0 0 0이 아니며 올바른 코드 페이지가 아닙니다.
DT_TEXT 0보다 크고 8000보다 작습니다. 0 0 0이 아니며 올바른 코드 페이지가 아닙니다.
DT_WSTR 0보다 크고 4000보다 작습니다. 0 0 0

적용 대상