MetadataStructureCacheGetVaultCache Method

Gets a new or existing metadata structure cache instance for a specific vault.

Definition

Namespace: MFiles.VAF.MetadataCache
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static MetadataStructureCache GetVaultCache(
	Vault vault,
	bool refresh = false,
	MetadataStructureCacheOptionFlags options = MetadataStructureCacheOptionFlags.None
)

Parameters

vault  Vault
The vault of the cache instance.
refresh  Boolean  (Optional)
Indicates weather an instance should be re-created if one already exists.
options  MetadataStructureCacheOptionFlags  (Optional)
Flags indicating how the cache should behave.

Return Value

MetadataStructureCache
Cache instance.

See Also