ScriptComponentHost.SetOutputColumnDataTypeProperties Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Sets the output column data type property for the component host.
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)
Syntax
'Declaration
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 _
)
'Usage
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
)
Parameters
- outputID
Type: System.Int32
The output identifier.
- outputColumnID
Type: System.Int32
The output column identifier.
- dataType
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The data type.
- length
Type: System.Int32
The length.
- precision
Type: System.Int32
The precision.
- scale
Type: System.Int32
The scale.
- codePage
Type: System.Int32
The code page.