共用方式為


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 IDTSInputColumn100
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An Integer that contains the length of the column.

備註

The Length property is required for the following data types.

  • DT_WSTR

  • DT_BYTES

  • DT_STR

  • DT_TEXT

For all other data types, Length is zero.