Compartilhar via


Propriedade Length

Gets the length of a column.

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

Sintaxe

'Declaração
ReadOnly Property Length As Integer
    Get
'Uso
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

Valor da propriedade

Tipo: System. . :: . .Int32
The length of the column.

Comentários

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.