Partilhar via


CSS API Replication Parameters

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

The following parameters are valid for Commerce Server 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.

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

BusinessDataProjectXml

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

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

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

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

TransactionMethod

Specifies to enable/disable transactional staging.

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