Share via


PipelineBuffer.Mode Property

Gets a value indicating whether a PipelineBuffer is an IDTSInput100 buffer or an IDTSOutput100 buffer.

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

Syntax

'Declaration
Public ReadOnly Property Mode As PipelineBufferMode
    Get
'Usage
Dim instance As PipelineBuffer
Dim value As PipelineBufferMode

value = instance.Mode
public PipelineBufferMode Mode { get; }
public:
property PipelineBufferMode Mode {
    PipelineBufferMode get ();
}
member Mode : PipelineBufferMode
function get Mode () : PipelineBufferMode

Property Value

Type: Microsoft.SqlServer.Dts.Pipeline.PipelineBufferMode
A value from the PipelineBufferMode enumeration that indicates whether the PipelineBuffer is in Output mode or Input mode.

Remarks

When the PipelineBuffer is in Input mode, certain methods of the PipelineBuffer cannot be called. The following list contains the methods that are restricted:

If any of these methods are called when in Input mode, the PipelineBuffer produces a NotOutputBufferException exception.