AdoDotNetDataSourceInformation.DataSourceInformation 屬性
擷取記憶體 DataTable 類別的實作所提供的資料來源資訊表示記憶體中資料的資料表。
命名空間: Microsoft.VisualStudio.Data.AdoDotNet
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)
語法
'宣告
Protected ReadOnly Property DataSourceInformation As DataTable
protected DataTable DataSourceInformation { get; }
protected:
property DataTable^ DataSourceInformation {
DataTable^ get ();
}
member DataSourceInformation : DataTable with get
function get DataSourceInformation () : DataTable
屬性值
類型:DataTable
傳回 DataSourceInformation 物件執行個體。
備註
藉由呼叫 GetSchema擷取這個屬性。
在 ADO.NET 提供者 DbConnection 物件上的方法和一個要求 DataSourceInformation 集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。