ADODC.MaxRecords 屬性

定義

取得或設定可從資料來源檢索的最大紀錄數量。

public:
 property int MaxRecords { int get(); void set(int value); };
[Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCMaxRecords")]
public int MaxRecords { get; set; }
[<Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCMaxRecords")>]
member this.MaxRecords : int with get, set
Public Property MaxRecords As Integer

屬性值

一個 Integer 指定可從資料來源檢索的紀錄數量的 A。

屬性

備註

此性質對應於 ADO Recordset.MaxRecords 性質。

Note

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於