CimTable.TableType (read-only property)

Gets the table type.
Syntax: CimTableEnum = object.TableType
Description: CimTable.TableType is a read only enumeration that contains the type of table. TableType is either set at the time a CimTable object is created by a call to the CimTable.CreateTable() method, or is already set for a pre-existing table.


Set project = CreateObject("CimProject")
Set myDatabase = CreateObject("CimDatabase")
Set myTable = CreateObject("CimTable")
project.OpenLocalProject "c:\Project1\Project1.gef"
Set myDatabase = project.database
Set myTable = myDatabase.CreateTable("TEST_TABLE01", cimDataTable)
type = myTable.TableType