Description
-
Determines file replace rules.
Property type
-
An ReplaceRulesEnum
enumeration.
Syntax
-
object.ReplaceRule [=
value]
The ReplaceRule Property syntax has these parts:
Settings
-
The settings for value are:
 |
ReplaceNever |
0 |
Never replaces. |
 |
ReplaceIfVersion |
1 |
Replace only if higher
version. |
 |
ReplaceIfDate |
2 |
Replace only if newer
creation date. |
 |
ReplaceIfModificationDate |
4 |
Replace only if newer
modification date. |
 |
ReplaceSmart |
63 |
Replace by version, then
by creation date, then by modification date. |
 |
ReplaceAlways |
255 |
Replace always. |
Remarks
-
ReplaceRule value determines when will wodAppUpdate set
NeedReplace
property to True for some file. By default, ReplaceRule is
set to ReplaceSmart - it will check both Version and
Date (if
available) to determine if local file should be updated or
not. You can, however, change this behavior to suit your
needs better.
|