Share via


CSS API Replication Parameters

The following parameters are valid for Commerce Server 2009 Staging (CSS) project replications.

Name

Description

AfterReceiveScript (optional)

The path and file name of a script to run after content is received.

AfterSendScript (optional)

The path and file name of a script to run after content is sent.

BeforeReceiveScript (optional)

The path and file name of a script to run before content is received.

BeforeSendScript (optional)

The path and file name of a script to run before content is sent.

BusinessDataProject

Whether the project is used to stage business data.

Dd328326.alert_note(en-US,CS.90).gifNote:
This option is only applicable to business data projects.

BusinessDataProjectXml

The path and name of the business data XML configuration file.

Dd328326.alert_note(en-US,CS.90).gifNote:
This option is only applicable to business data projects.

Destination

The set of names of all servers or routes to receive the replication. Can be NULL if there is no destination. If creating a project that uses routes, it must be the name of the route. The list cannot exceed 4096 characters.

ExcludeDir (optional)

The name of a directory to exclude from replication.

Dd328326.alert_note(en-US,CS.90).gifNote:
This option is only applicable to Web content staging projects.

Flags

A bitmasked value defining how to perform the replication. For more information, see CSS API Flags.

LocalDirectory

The name of the local directory used to send or receive the content. This parameter cannot be NULL.

MailTo (optional)

The e-mail address to receive notifications when a staging project succeeds or fails.

MailToFail (optional)

The e-mail address to receive notifications when a staging project fails.

MailToSuccess (optional)

The e-mail address to receive notifications when a staging project succeeds.

MapUrl (optional)

The name of the URL that maps to the local directory. For example, "https://www.microsoft.com/Cinemania" could map to the local directory "C:\Microsoft\Cinemania".

ReplicationMethod

The type of replication to perform.

Dd328326.alert_note(en-US,CS.90).gifNote:
Do not set this parameter. The system defines SENDINET for all project types.

TransactionMethod

Specifies to enable/disable transactional staging.

Dd328326.alert_note(en-US,CS.90).gifNote:
This option is only applicable to Web content staging projects.

For more information about this parameter, see the CReplicationProject.Put Method.

See Also

Other Resources

CReplicationProject.Commit Method

CReplicationProject.Put Method

CSS Business Data XML Configuration File Syntax Elements

CSS API Flags

CSS API Global Parameters

CSS API Supplemental