Share via


SqlDataDictionary.tableCreate Method

Creates one or more Microsoft Dynamics AX tables in the SQL database. Also, provides an option to create for index.

Syntax

public int tableCreate([boolean indexes, TableId tableId])

Run On

Server

Parameters

  • indexes
    Type: boolean
    A boolean flag that determines whether to create indexes; optional.

Return Value

Type: int
Zero if the method succeeds.

Remarks

Used for low-level maintenance only.

Examples

{ 
    SqlDataDictionary DD = new SqlDataDictionary(); 
    DD.tableCreate(TableName2Id("Address")); 
}

See Also

Reference

SqlDataDictionary Class