共用方式為


IDTSVirtualInputColumn100.Length 屬性

Gets the length of a column.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
ReadOnly Property Length As Integer 
    Get
'用途
Dim instance As IDTSVirtualInputColumn100 
Dim value As Integer 

value = instance.Length
int Length { get; }
property int Length {
    int get ();
}
abstract Length : int
function get Length () : int

屬性值

型別:System.Int32
The length of the column.

備註

Modifications to this property are not persisted in the upstream column or in the virtual column. When new input columns are created from a virtual column, the length property of the new column matches this value.

The Length property is set for the following data types.

  • DT_WSTR

  • DT_BYTES

  • DT_STR

  • DT_TEXT

  • For all other data types, Length is zero.

請參閱

參考

IDTSVirtualInputColumn100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間