Click or drag to resize

VaultApplicationBaseCreateMetadataStructureCacheEventSink Method

Creates the metadata structure cache event sink that can be used to update the cache based on events. Currently only updating the users, user groups and logins is supported. - The default setting is to disable all event driven caches, so we return a null value. - To enable event driven caches, override to return a `new MetadataStructureCacheEventSink( cache );`

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.2.0.9
Syntax
C#
protected virtual IMetadataStructureCacheEventSink CreateMetadataStructureCacheEventSink(
	Vault vault,
	IMetadataStructureCacheUpdate cache
)

Parameters

vault
Type: Vault
The vault object.
cache
Type: MFiles.VAF.MetadataCacheIMetadataStructureCacheUpdate
The updateable cache object that should be the target of the updates.

Return Value

Type: IMetadataStructureCacheEventSink
The created cache updater object or null if cache updating is not wanted.
See Also