Compartir a través de


Campo MaxLength

Indicates the maximum number of characters or digits that will fit in the PipelineBuffer column.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline
Ensamblado:  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Sintaxis

'Declaración
Public MaxLength As Integer
'Uso
Dim instance As BufferColumn
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value
public int MaxLength
public:
int MaxLength
val mutable MaxLength: int
public var MaxLength : int

Comentarios

The MaxLength field applies to the DT_STR, DT_TEXT, DT_WSTR, and DT_BYTES data types.

The PipelineBuffer throws a DoesNotFitBufferException when MaxLength is exceeded.