Campo MaxLength

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Sintassi

'Dichiarazione
Public MaxLength As Integer
'Utilizzo
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

Osservazioni

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.