SqlDataDictionary.tableTruncate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
tableTruncate(Int32, Boolean, Boolean) | |
tableTruncate(Int32) |
Truncates the table. |
tableTruncate(Int32, Boolean) |
tableTruncate(Int32, Boolean, Boolean)
public:
virtual int tableTruncate(int _tableId, bool _prompt_before_truncate, bool _truncate_system_table);
public virtual int tableTruncate (int _tableId, bool _prompt_before_truncate, bool _truncate_system_table);
abstract member tableTruncate : int * bool * bool -> int
override this.tableTruncate : int * bool * bool -> int
Public Overridable Function tableTruncate (_tableId As Integer, _prompt_before_truncate As Boolean, _truncate_system_table As Boolean) As Integer
Parameters
- _tableId
- Int32
A boolean flag that determines whether to truncate table in case if selected table is system; optional. By default, false.
- _prompt_before_truncate
- Boolean
- _truncate_system_table
- Boolean
Returns
Applies to
tableTruncate(Int32)
Truncates the table.
public:
virtual int tableTruncate(int num1);
public virtual int tableTruncate (int num1);
abstract member tableTruncate : int -> int
override this.tableTruncate : int -> int
Public Overridable Function tableTruncate (num1 As Integer) As Integer
Parameters
- num1
- Int32
Returns
Zero if the method succeeds.
Applies to
tableTruncate(Int32, Boolean)
public:
virtual int tableTruncate(int num1, bool flag1);
public virtual int tableTruncate (int num1, bool flag1);
abstract member tableTruncate : int * bool -> int
override this.tableTruncate : int * bool -> int
Public Overridable Function tableTruncate (num1 As Integer, flag1 As Boolean) As Integer
Parameters
- num1
- Int32
- flag1
- Boolean