Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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