Click or drag to resize

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.

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

Parameters

oldScript
Type: SystemString
The old, installed script.
newScript
Type: SystemString
The new script.
warningMessage
Type: SystemString
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

Type: Boolean
True if the script should be updated.
See Also