CreateDataLinkForTable(table)

Returns the DataLink object that represents a descriptor of a link between the feature type and a table of GDB or external database. The table argument specifies a table to be linked (object Table). You cannot use a temporary table as an argument of this method. The feature type should not belong to a work layer of a theme because the feature types of work layers cannot be linked with tables from GDB or external databases. To link a table with the feature type, set up the DataLink object and add it to the FeatureType::DataLinks collection. For details on setting up a link descriptor, see the chapter "DataLink Object".