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.3.623.2
Syntaxprotected virtual bool ShouldUpdateScript(
string oldScript,
string newScript,
string warningMessage
)
Protected Overridable Function ShouldUpdateScript (
oldScript As String,
newScript As String,
warningMessage As String
) As Boolean
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:
BooleanTrue if the script should be updated.
See Also