Partilhar via


PipelineBuffer.Mode Property

Gets a value indicating whether a PipelineBuffer is an IDTSInput90 buffer or an IDTSOutput90 buffer.

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

Syntax

'Declaration
Public ReadOnly Property Mode As PipelineBufferMode
public PipelineBufferMode Mode { get; }
public:
property PipelineBufferMode Mode {
    PipelineBufferMode get ();
}
/** @property */
public PipelineBufferMode get_Mode ()
public function get Mode () : PipelineBufferMode

Property Value

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.

Thread Safety

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.

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

PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace