VaultApplicationBaseShouldUpdateScript Method

Checks if the script should be updated. The script should be updated only if the old script was automatically generated and the new script differs from the old one.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
protected virtual bool ShouldUpdateScript(
	string oldScript,
	string newScript,
	string warningMessage
)

Parameters

oldScript  String
The old, installed script.
newScript  String
The new script.
warningMessage  String
A warning message which will be written to the event log if it seems that the new script can be installed even though it should.

Return Value

Boolean
True if the script should be updated.

See Also