NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ADOCommand.RowFetchCount

Gets or sets how many rows of data to fetch at a time.

[Visual Basic]
Public Property RowFetchCount As Integer
[C#]
public int RowFetchCount {get; set;}
[C++]
public: __property int get_RowFetchCount();
public: __property void set_RowFetchCount(int);
[JScript]
public function get RowFetchCount() : int;
public function set RowFetchCount(int);

Property Value

The number of data rows to be fetched. The default is 1.

Exceptions

Exception Type Condition
InvalidRowFetchCount(System.Int32) The value is set to a value less than 1.

Example

The following example creates an ADOCommand and sets some of its properties.

See Also

ADOCommand Class | ADOCommand Members | System.Data.ADO Namespace | CommandText | CommandTimeout | CommandType | ActiveConnection | CommandBehavior | UpdatedRowSource | NamedParameters