Flags

This section describes the Content Deployment flags for the ReplicationInstance.Flags method. You can use individual flags by defining them in your VBScript code, as follows:

const RF_UNINSTALL         = 0x2000

However, if you need to examine a large number of possible flags, add the flags to a file, such as Flags.inc, and include that file in the VBScript code of an ASP file, as follows:

<!--#include file = "Events.inc"-->

The following table lists the default flags, their defined values, and a brief description.

Name Value Description
RF_AUTO_ROUTE 512 Use routing table to create/run the project.
RF_EXCLUDE_ALL 4096 Do not replicate subdirectories. Replicate only the current directory.
RF_FASTMODE 128 Use the fast replication mode.
RF_FORCE_REPL 8 Force replication of all files.
RF_INCREMENTAL 64 Only replicate files with different timestamps.
RF_IN_PROC 32 Run in process.
RF_NO_CHAIN 2048 Do not chain.
RF_NO_DATA 4 Do not replicate files, only directories.
RF_NO_DELETE 1 Do not delete files on the destination computer.
RF_ON_DIR_CHANGE 256 Monitor directory for changes and replicate them immediately.
RF_ON_NOTIFY 1024 Accept notifications for this project from the AcceptNotify object.
RF_PERMIT_TREE 16 Apply ACLs on source to destination. No files are transferred.
RF_REPLICATE_ACLS 2 Replicate both files and ACLs.

You can specify the following project settings to override default project setting values. You should only specify these settings when you start an existing project, never when you create a new project.

Flag Value Description
RF_ACLS_ONLY 16384 Replicate only ACLs, not files.
RF_CHAIN 33554432 Chain.
RF_DATA 65536 Replicate files and directories.
RF_DELETE 16384 Delete files on the destination computer.
RF_UNINSTALL 8192 Do not replicate subdirectories. Replicate only the current directory. This value can be used when creating a project, but can never be overridden.
RF_NO_AUTO_ROUTE 8388608 Do not auto route. Should never be used.
RF_NO_FASTMODE 2097152 Do not run in fast mode.
RF_NO_FORCE_REPL 131072 Do not force replication of current files.
RF_NO_IN_PROC 524288 Do not run in process.
RF_NO_INCREMENTAL 1048576 Do not run in incremental mode.
RF_NO_ON_DIR_CHANGE 41094304 Do not run in directory changes mode.
RF_NO_ON_NOTIFY 16777216 Do not run in notify mode.
RF_NO_PERMIT_TREE 262144 Do not do a permit function.
RF_NO_REPLICATE_ACLS 32768 Do not replicate ACLs.


© 1997-1998 Microsoft Corporation. All rights reserved.