CManagedComponentWrapperClass.SetOutputColumnDataTypeProperties 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
IDTSOutputColumn100 개체의 데이터 형식 속성을 설정합니다.
public:
virtual void SetOutputColumnDataTypeProperties(int lOutputID, int lOutputColumnID, Microsoft::SqlServer::Dts::Runtime::Wrapper::DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::SetOutputColumnDataTypeProperties;
[System.Runtime.InteropServices.DispId(32)]
public virtual void SetOutputColumnDataTypeProperties (int lOutputID, int lOutputColumnID, Microsoft.SqlServer.Dts.Runtime.Wrapper.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.DataType * int * int * int * int -> unit
override this.SetOutputColumnDataTypeProperties : int * int * Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType * int * int * int * int -> unit
Public Overridable 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
IDTSOutputColumn100 개체의 ID입니다.
- lOutputColumnID
- Int32
IDTSOutputColumn100 개체의 ID입니다.
- lLength
- Int32
열의 길이입니다.
- lPrecision
- Int32
열의 총 자릿수입니다.
- lScale
- Int32
열에 허용되는 소수 자릿수(소수점 오른쪽의 자릿수)입니다.
- lCodePage
- Int32
출력 열의 문자 집합입니다.
구현
- 특성
설명
출력 열의 데이터 형식 속성은 서로 종속되며 열의 에 DataType 따라 특정 규칙을 따라야 합니다. 이 메서드를 사용하면 구성 요소가 모든 속성을 한 번에 설정하여 이러한 규칙을 적용할 수 있습니다.
다음 표에서는 출력 열의 데이터 형식 속성을 설정할 때 적용되는 규칙을 나열합니다.
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 |