Limpiar el Cache en Reporting Services
Encontré esta información sobre cómo limpiar el caché en SQL Server Reporting Services.
You can find information about scripting here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsuiref/htm/cpu_rs_v1_5fxe.asp
You should also look at this:
The flush cache method is here:
You script will look something like this (not sure this is 100% correct)
Public Sub Main()
Dim items() As CatalogItem
items = rs.ListChildren("/", True)
Dim type as ItemTypeEnum
Dim item As CatalogItem
For Each item In items
type = rs.GetItemType(item)
if (type == ItemTypeEnum.Report || type == ItemTypeEnum.LinkedReport)
rs.FlushCache(item)
Next item
End Sub
I think I mixed in C# and VB.Net, but hopefully you can get the idea.
Saludos,
Eduardo Castro
Comunidad Windows Costa Rica http://mswindowscr.org
Comments