NET Caching Library Help
GetTruncateSql Method (SqlServerDatabaseProvider)




KellermanSoftware.NetCachingLibrary.DatabaseProviders Namespace > SqlServerDatabaseProvider Class : GetTruncateSql Method
The name of the table
Get the sql to truncate a table.
Syntax
'Declaration
 
Public Overrides Function GetTruncateSql( _
   ByVal tableName As System.String _
) As System.String
'Usage
 
Dim instance As SqlServerDatabaseProvider
Dim tableName As System.String
Dim value As System.String
 
value = instance.GetTruncateSql(tableName)
public override System.string GetTruncateSql( 
   System.string tableName
)
public: System.string* GetTruncateSql( 
   System.string* tableName
) override 
public:
System.String^ GetTruncateSql( 
   System.String^ tableName
) override 

Parameters

tableName
The name of the table
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

SqlServerDatabaseProvider Class
SqlServerDatabaseProvider Members