Knight Data Access Layer
TruncateTable(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface > TruncateTable Method : TruncateTable(String) Method
The name of the table
Delete all the records from a table
Syntax
Overloads Function TruncateTable( _
   ByVal tableName As String _
) As Long
Dim instance As IDataHelper
Dim tableName As String
Dim value As Long
 
value = instance.TruncateTable(tableName)
long TruncateTable( 
   string tableName
)
long TruncateTable( 
   string* tableName
) 
int64 TruncateTable( 
   String^ tableName
) 

Parameters

tableName
The name of the table

Return Value

How many tables were truncated
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDataHelper Interface
IDataHelper Members
Overload List