Represents a table in the Table Catalog.
This example shows how to write all data about the tables in the Table Catalog to the Console:
with (ActiveDocument.Sections["Query"].DataModel)
{
var NumTables = Catalog.CatalogItems.Count
for (I = 1; I <= NumTables;I++)
{
OutputString = "Database Name =" +
Catalog.CatalogItems[I].DatabaseName
OutputString = OutputString +":Database Owner=" +
Catalog.CatalogItems[I].Owner
OutputString = OutputString +":Table Name=" +
Catalog.CatalogItems[I].Name
Console.Write(OutputString+"\r\n")
}
}Read-only: DatabaseName As String, Property Name As String, Property Owner As String