Partager via


Mode propriété

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

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Mode As PipelineBufferMode
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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.