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. If one does not want to register the event handlers and update the cache then this method should be overridden and it should return null.

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


Type: Vault
The vault object.
Type: MFiles.VAF.MetadataCacheIMetadataStructureCacheUpdate
The updatable cache pobject 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