Table.TruncateData Method
Truncates the data in the table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub TruncateData
'Usage
Dim instance As Table
instance.TruncateData()
public void TruncateData()
public:
void TruncateData()
member TruncateData : unit -> unit
public function TruncateData()
Examples
Creating, Altering, and Removing Tables
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace