Share via


BufferColumn.MaxLength Field

Indicates the maximum number of characters or digits that will fit in the PipelineBuffer column. This field is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntax

'Declaration
Public MaxLength As Integer
public int MaxLength
public:
int MaxLength
public int MaxLength
public var MaxLength : int

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

BufferColumn Structure
BufferColumn Members
Microsoft.SqlServer.Dts.Pipeline Namespace