Click or drag to resize

MFUtilsConvertToLocalVault Method

Converts the vault object to locally used and possibly stored vault object. This method allows the implementations to improve the performance by using in-process vault.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static Vault ConvertToLocalVault(
	Vault vault,
	bool prepareForPersisting
)

Parameters

vault
Type: Vault
The vault object.
prepareForPersisting
Type: SystemBoolean
True to enable keep-alive timer.

Return Value

Type: Vault
A locally cloned vault with the KeepAlive property set => true.
See Also