ScriptComponentHost.SetOutputColumnDataTypeProperties 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Sets the output column data type property for the component host.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)
語法
'宣告
Public Overrides Sub SetOutputColumnDataTypeProperties ( _
outputID As Integer, _
outputColumnID As Integer, _
dataType As DataType, _
length As Integer, _
precision As Integer, _
scale As Integer, _
codePage As Integer _
)
'用途
Dim instance As ScriptComponentHost
Dim outputID As Integer
Dim outputColumnID As Integer
Dim dataType As DataType
Dim length As Integer
Dim precision As Integer
Dim scale As Integer
Dim codePage As Integer
instance.SetOutputColumnDataTypeProperties(outputID, _
outputColumnID, dataType, length, _
precision, scale, codePage)
public override void SetOutputColumnDataTypeProperties(
int outputID,
int outputColumnID,
DataType dataType,
int length,
int precision,
int scale,
int codePage
)
public:
virtual void SetOutputColumnDataTypeProperties(
int outputID,
int outputColumnID,
DataType dataType,
int length,
int precision,
int scale,
int codePage
) override
abstract SetOutputColumnDataTypeProperties :
outputID:int *
outputColumnID:int *
dataType:DataType *
length:int *
precision:int *
scale:int *
codePage:int -> unit
override SetOutputColumnDataTypeProperties :
outputID:int *
outputColumnID:int *
dataType:DataType *
length:int *
precision:int *
scale:int *
codePage:int -> unit
public override function SetOutputColumnDataTypeProperties(
outputID : int,
outputColumnID : int,
dataType : DataType,
length : int,
precision : int,
scale : int,
codePage : int
)
參數
- outputID
型別:System.Int32
The output identifier.
- outputColumnID
型別:System.Int32
The output column identifier.
- dataType
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The data type.
- length
型別:System.Int32
The length.
- precision
型別:System.Int32
The precision.
- scale
型別:System.Int32
The scale.
- codePage
型別:System.Int32
The code page.