Dela via


WebTest.MoveDataTableCursor Method (String, String)

Advances the cursor in the data table to the next record.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub MoveDataTableCursor ( _
    dataSourceName As String, _
    dataTableName As String _
)
public void MoveDataTableCursor(
    string dataSourceName,
    string dataTableName
)
public:
void MoveDataTableCursor(
    String^ dataSourceName, 
    String^ dataTableName
)
member MoveDataTableCursor : 
        dataSourceName:string * 
        dataTableName:string -> unit 
public function MoveDataTableCursor(
    dataSourceName : String, 
    dataTableName : String
)

Parameters

  • dataTableName
    Type: System.String
    A table that is found in the data source.

Exceptions

Exception Condition
ArgumentException

dataSourceName does not represent a data source that is found in the internal Web performance test data source collection.

ArgumentException

dataTableName does not represent a table that is found in dataSourceName.

.NET Framework Security

See Also

Reference

WebTest Class

MoveDataTableCursor Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

About Data Binding

How to: Add Data Binding to a Web Request