CSS API Flags

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The following table describes the Commerce Server Staging (CSS) flags that are used with CReplicationInstance.Flags Property and CReplicationProject.Flags Property. If no flags are defined, the project is run with the flags Incremental and Route.

Note

All flags, except for the Route and NoRoute flags are only applicable to Web content staging projects.

Flag

Value

Description

Automatic

256

Monitors directory for changes and replicates them as they change. This is comparable to selecting the Check time stamp only option through the UI.

Default

0

Runs the replication using the default assignments. Default project flags are Incremental and Route.

Delete

65536

Deletes files on the destination computer.

DirsOnly

4

Replicates directories only. Skips the replication of files. This flag cannot be used with the /Incremental option.

ExcludeAll

4096

Excludes all subdirectories from the replication. Replicates only the current directory.

Force

8

Forces replication of all files. This flag causes all files to be staged, whether they have changed or not.

Incremental

64

Runs replication in Incremental mode. Only those files that have been locally detected to have been modified since the last replication are checked and sent.

NoAutomatic

41094304

Do not run in directory change mode.

NoDelete

1

Specifies to preserve deleted content on the endpoint servers.

NoDirsOnly

262144

Specifies to replicate both files and directories.

NoForce

524288

Do not force replication of current files.

NoIncremental

1048576

Do not run in incremental mode.

NoRoute

33554432

Do not use information in the routing table to determine the destination servers

Bb520774.alert_note(en-US,CS.70).gifNote:
We recommend that this flag not be used. If the project specifies routes, the destination servers that are defined in the routes will be ignored if this flag is set.

Route

512

Uses information in the routing table to determine the destination servers.

See Also

Other Resources

Commerce Server Staging Reference

CSS API Supplemental