ADODC.RecordSource 屬性

定義

取得或設定回傳 Recordset的語句或查詢。

public:
 property System::String ^ RecordSource { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCRecordSource")]
public string RecordSource { get; set; }
[<Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCRecordSource")>]
member this.RecordSource : string with get, set
Public Property RecordSource As String

屬性值

String A 包含該陳述或查詢。

屬性

備註

包含 RecordSource 資料庫資料表的名稱及一個有效 SQL 字串,語法與資料來源相符。

Note

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

適用於