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.