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 식별.
- lOutputColumnID
- Int32
그 물체의 IDTSOutputColumn100 식별.
- lLength
- Int32
열의 길이입니다.
- lPrecision
- Int32
열의 총 숫자 수.
- lScale
- Int32
열에서 허용되는 소수점 자리(소수점 오른쪽의 숫자)의 수.
- lCodePage
- Int32
출력 열의 문자 집합.
구현
- 특성
설명
출력 열의 데이터 타입 속성은 서로 의존하며, 열의 특성 DataType 에 따라 특정 규칙을 따라야 합니다. 이 방법은 컴포넌트가 모든 속성을 한꺼번에 설정하여 이러한 규칙을 강제할 수 있게 합니다.
다음 표는 출력 열의 데이터 타입 속성을 설정할 때 적용되는 규칙들을 나열합니다.
| 데이터 유형 | Length | Scale | 정밀성 | CodePage |
|---|---|---|---|---|
| DT_십진수 | 0 | 0보다 크고 28보다 작거나 같습니다. | 0 | 0 |
| DT_CY | 0 | 0 | 0 | 0 |
| DT_NUMERIC | 0 | 0보다 크고 28 이하이며 정밀도보다 낮음. | 1보다 크거나 같고 38보다 작거나 같습니다. | 0 |
| DT_바이트 | 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 |