internal void TruncateTables(List <Sitecore.Takeaway.DistributedDb.Configuration.SyncTable> tables, SqlConnection connection, DbSyncScopeDescription scopeDesc) { var provision = new SqlSyncScopeProvisioning(connection, scopeDesc); try { Log.Info("[DistributedDb] TruncateTables Scope Tables [" + scopeDesc.ScopeName + "] Start", this); provision.CommandTimeout = 3600; provision.TruncateTables(connection, tables); Log.Info("[DistributedDb] TruncateTables Scope Tables [" + scopeDesc.ScopeName + "] End", this); } catch (Exception ex) { Log.Error("[DistributedDb] TruncateTables Scope Tables [" + scopeDesc.ScopeName + "] Error", ex, this); } }