Gets a value indicating if cache refreshing should be restricted.

Note: This property is supported for IC Server version 2015 R3 and beyond.

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public RestrictCacheRefreshOptions RestrictCacheRefreshOption { get; private set; }
Visual Basic
Public Property RestrictCacheRefreshOption As RestrictCacheRefreshOptions
	Get
	Private Set

Field Value

trueTruetruetrue (True in Visual Basic) to restrict cache refreshing; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

If this is RestrictCacheRefreshOptions.NoRestrictions, once the custom profile data has been cached, the custom profile cache will only be refreshed on successful calls to FlushChanges()()()() or FlushChangesAsync(AsyncCompletedEventHandler, Object). If this is RestrictCacheRefreshOptions.RestrictOnGetOperations, then the custom profile cache will also be refreshed when calling GetProfileItem(String, String), GetProfileItemAsync(String, String, EventHandler<(Of <<'(GetProfileItemCompletedEventArgs>)>>), Object), GetNamespaceContents(String), and GetNamespaceContentsAsync(String, EventHandler<(Of <<'(GetNamespaceContentsCompletedEventArgs>)>>), Object), if the requested key was not found in the current custom profile cache data.

Version Information

Supported for IC Server version 2015 R3 and beyond.

See Also