TableManager UpdateTableByDefinition Method Kentico 8.0 API Reference
Updates the structure of given table with new schema. It adds, modifies or removes the columns.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

tableName
Type: OnlineSystem String
Table name
definition
Type: OnlineSystem String
New form definition
excludeColumns (Optional)
Type: OnlineSystem String
Column list to exclude. Column names separated by semicolon
loadOldXML (Optional)
Type: OnlineSystem Boolean
Indicates if old XML schema definition should be loaded
See Also