Export (0) Print
Expand All

UnsupportedValueTypeForTextStreamColumnException Class

The exception that is thrown when the value of the type that is being assigned to a column in a PipelineBuffer is not a string or byte array.

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

public class UnsupportedValueTypeForTextStreamColumnException : ApplicationException
public class UnsupportedValueTypeForTextStreamColumnException extends ApplicationException
public class UnsupportedValueTypeForTextStreamColumnException extends ApplicationException

This exception occurs when assigning data to a DT_TEXT or DT_NTEXT column in a PipelineBuffer using the array indexer method.


System.Object
   System.Exception
     System.ApplicationException
      Microsoft.SqlServer.Dts.Pipeline.UnsupportedValueTypeForTextStreamColumnException

The following example shows how this exception occurs when the first column in the buffer is DT_TEXT or DT_NTEXT.

public override void ProcessInput(int inputID, PipelineBuffer buffer)
{
    if(!buffer.EndOfRowset)
    {
        buffer[0] = 1;
    }
}

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft