Click or drag to resize

MetadataStructureCacheGetVaultCache Method

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

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

Parameters

vault
Type: Vault
The vault of the cache instance.
refresh (Optional)
Type: SystemBoolean
Indicates weather an instance should be re-created if one already exists.
options (Optional)
Type: MFiles.VAF.MetadataCacheMetadataStructureCacheOptionFlags
Flags indicating how the cache should behave.

Return Value

Type: MetadataStructureCache
Cache instance.
See Also