共用方式為


PipelineBuffer.Mode 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
Public ReadOnly Property Mode As PipelineBufferMode 
    Get
'用途
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

屬性值

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

備註

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.

請參閱

參考

PipelineBuffer 類別

Microsoft.SqlServer.Dts.Pipeline 命名空間