Reset the position of a cursor.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub setPosition( _ ByVal pos As String _ ) |
| C# |
|---|
| public void setPosition( string pos ) |
| C++ |
|---|
| public: void setPosition( String pos ) sealed |
| J# |
|---|
| public void setPosition( string pos ) |
| JScript |
|---|
| public
function setPosition( pos : String ) |
Parameters
- pos
- a position value returned by a previous call to getPosition. If null, the cursor is set to the start of the table.
Remarks
This resets the position of a cursor so that it will start reading records at a given position. Note that any table update operation, including a checkpoint/restore operation, can invalidate a saved position value, the results become unpredictable. This does not affect the skip count.