Share via


CSS API Flags

The following table describes the Commerce Server 2009 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

Dd327851.alert_note(en-US,CS.90).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