如何使用 GetOleDbSchemaTable 和 Visual Basic.NET 中擷取結構描述資訊

如何使用 GetOleDbSchemaTable 和 Visual Basic.NET 中擷取結構描述資訊

本文告訴,如何在 ADO.NET 中使用 OleDbConnection 物件的 GetOleDbSchemaTable 方法,以擷取資料庫結構描述資訊。 結構描述資料來源中的資訊包括資料庫或從資料來源、 資料表和一個的資料庫中檢視可用的類別目錄,以及存在等等的條件約束。 在資料表中的結構描述資訊包括了主索引鍵]、 [資料行和 [Autonumber 欄位。

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

What is 4 + 11 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)