Поделиться через


Поле MaxLength

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

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline
Сборка:  Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)

Синтаксис

'Декларация
Public MaxLength As Integer
'Применение
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

Замечания

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.