Share via


PipelineBuffer.CurrentRow Property

Gets the index of the current row in the PipelineBuffer.

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

Syntax

'Declaration
Public Property CurrentRow As Integer 
    Get 
    Set
'Usage
Dim instance As PipelineBuffer 
Dim value As Integer 

value = instance.CurrentRow

instance.CurrentRow = value
public int CurrentRow { get; set; }
public:
property int CurrentRow {
    int get ();
    void set (int value);
}
member CurrentRow : int with get, set
function get CurrentRow () : int 
function set CurrentRow (value : int)

Property Value

Type: System.Int32
The index of the current row in the PipelineBuffer.

Remarks

The PipelineBuffer produces a RowIndexOutOfRangeException if CurrentRow is accessed before advancing the PipelineBuffer to the first row using the NextRow method.

See Also

Reference

PipelineBuffer Class

Microsoft.SqlServer.Dts.Pipeline Namespace