Champ MaxLength

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
Public MaxLength As Integer
'Utilisation
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

Notes

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.