DTS Programming

LastRow Property

The LastRow property specifies the last source row to copy.

Applies To
BulkInsertTask Object DataPumpTask Object
DataDrivenQueryTask Object DataPumpTask2 Object
DataDrivenQueryTask2 Object TransformationSet Object

Syntax

object.LastRow[= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Last source row to copy

Data Type

Variant (Long in the BulkInsertTask object)

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetLastRow(VARIANT *pRetVal);

HRESULT SetLastRow(VARIANT NewValue);

Remarks

The default is 0, which specifies that all rows are to be copied.

See Also

FirstRow Property