Freigeben über


Length-Eigenschaft

Gets the length of a column.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
ReadOnly Property Length As Integer
    Get
'Usage
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

Eigenschaftswert

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

Hinweise

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.