dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceCache Class / CreateForAll Method
The interval between automatic cache refreshing for a table in the cache.
The time unit, the refresh interval is set in.
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).

In This Topic
    CreateForAll Method
    In This Topic
    Creates cache for all the tables.
    Syntax
    'Declaration
     
    Public Sub CreateForAll( _
       ByVal refreshInterval As Integer, _
       ByVal intervalUnit As RefreshIntervalUnit, _
       ByVal fullRefresh As Boolean _
    ) 
    public void CreateForAll( 
       int refreshInterval,
       RefreshIntervalUnit intervalUnit,
       bool fullRefresh
    )

    Parameters

    refreshInterval
    The interval between automatic cache refreshing for a table in the cache.
    intervalUnit
    The time unit, the refresh interval is set in.
    fullRefresh
    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