Aracılığıyla paylaş


Table.TruncateData Method

Truncates the data in the table.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub TruncateData
'Kullanım
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

Table Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Tables

TRUNCATE TABLE (Transact-SQL)