dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceCache Class / Alter Method / Alter(String,String,Int32,RefreshIntervalUnit,Boolean) Method
The name of the table to alter cache settings for.
The new filter value. Allows setting the condition the object must match to be stored in cache.
The new refresh interval.
The time unit, the refresh interval is set in.
The refresh method to use for refreshing the cache for this table. true if full refresh method should be used (all objects, matching the filter if such is set, from thу specified table will be queried when performing cache refreshing); false if smart refresh method should be used (only objects that were created or modified since the last cache refreshing, will be queried when performing cache refreshing).

Alter(String,String,Int32,RefreshIntervalUnit,Boolean) Method
Alters cache settings for a salesforce object.
Syntax
'Declaration
 
Public Overloads Sub Alter( _
   ByVal tableName As String, _
   ByVal filter As String, _
   ByVal refreshInterval As Integer, _
   ByVal intervalUnit As RefreshIntervalUnit, _
   ByVal fullRefresh As Boolean _
) 
 

Parameters

tableName
The name of the table to alter cache settings for.
filter
The new filter value. Allows setting the condition the object must match to be stored in cache.
refreshInterval
The new refresh interval.
intervalUnit
The time unit, the refresh interval is set in.
fullRefresh
The refresh method to use for refreshing the cache for this table. true if full refresh method should be used (all objects, matching the filter if such is set, from thу specified table will be queried when performing cache refreshing); false if smart refresh method should be used (only objects that were created or modified since the last cache refreshing, will be queried when performing cache refreshing).
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