SqlDataDictionary.tableTruncate Method

Truncates the Microsoft Dynamics AX table.

Syntax

public int tableTruncate(
    TableId tableId, 
   [boolean prompt_before_truncate, 
    boolean truncate_system_table])

Run On

Server

Parameters

  • prompt_before_truncate
    Type: boolean
    A boolean flag that determines whether to ask user before truncating the table; optional. By default, true.
  • truncate_system_table
    Type: boolean
    A boolean flag that determines whether to truncate table in case if selected table is system; optional. By default, false.

Return Value

Type: int
Zero if the method succeeds.

See Also

Reference

SqlDataDictionary Class