Share via


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()