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 に基づく特定のルールに従う必要があります。 この方法により、コンポーネントはすべてのプロパティを一度に設定することでこれらのルールを強制できます。
以下の表は、出力列のデータ型プロパティを設定する際に適用されるルールを一覧にしています。
| データ型 | Length | [倍率] | 精度 | 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 |